about summary refs log tree commit diff stats
path: root/adapter/img
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-09-01 16:35:51 +0200
committerbptato <nincsnevem662@gmail.com>2024-09-01 17:07:05 +0200
commitd07187fc186681e262afd67bd748206e40aef346 (patch)
treebef16c305013311c01f4ee821d03dc2550b75a95 /adapter/img
parentd1ff49b0fc39171859cfa781f459a2e0242c2e79 (diff)
downloadchawan-d07187fc186681e262afd67bd748206e40aef346.tar.gz
canvas: make sure we don't link to QJS
Diffstat (limited to 'adapter/img')
-rw-r--r--adapter/img/canvas.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/adapter/img/canvas.nim b/adapter/img/canvas.nim
index 2182e1d9..32d6d37a 100644
--- a/adapter/img/canvas.nim
+++ b/adapter/img/canvas.nim
@@ -10,7 +10,6 @@ import std/os
 import std/posix
 import std/strutils
 
-import css/cssvalues
 import img/bitmap
 import img/painter
 import img/path
@@ -121,7 +120,7 @@ proc main() =
             var text: string
             var x, y: float64
             var color: ARGBColor
-            var align: CSSTextAlign
+            var align: CanvasTextAlign
             r.sread(text)
             r.sread(x)
             r.sread(y)