diff options
author | bptato <nincsnevem662@gmail.com> | 2024-09-01 16:35:51 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-09-01 17:07:05 +0200 |
commit | d07187fc186681e262afd67bd748206e40aef346 (patch) | |
tree | bef16c305013311c01f4ee821d03dc2550b75a95 /adapter/img | |
parent | d1ff49b0fc39171859cfa781f459a2e0242c2e79 (diff) | |
download | chawan-d07187fc186681e262afd67bd748206e40aef346.tar.gz |
canvas: make sure we don't link to QJS
Diffstat (limited to 'adapter/img')
-rw-r--r-- | adapter/img/canvas.nim | 3 |
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) |