about summary refs log tree commit diff stats
path: root/src/render
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-11-25 23:15:49 +0100
committerbptato <nincsnevem662@gmail.com>2022-11-25 23:16:39 +0100
commitd54e0258fd794ad54b42acc51ec65d9c7297d908 (patch)
tree028ec9ce0dc9ba77d23bea2e3f86e4aabb527b4b /src/render
parent7ab7f28fdefe503fdde53ba9e253e308cb06b44f (diff)
downloadchawan-d54e0258fd794ad54b42acc51ec65d9c7297d908.tar.gz
Fix some table layout issues
Diffstat (limited to 'src/render')
-rw-r--r--src/render/renderdocument.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/renderdocument.nim b/src/render/renderdocument.nim
index a039cc71..9eebe61d 100644
--- a/src/render/renderdocument.nim
+++ b/src/render/renderdocument.nim
@@ -160,7 +160,7 @@ proc setSpacing(lines: var FlexibleGrid, spacing: InlineSpacing, x, y: int, wind
 
   lines.setText(linestr, spacing.format, x, y)
 
-proc paintBackground(lines: var FlexibleGrid, color: CSSColor, startx, starty, endx, endy: int, window: WindowAttributes) =
+proc paintBackground(lines: var FlexibleGrid, color: RGBAColor, startx, starty, endx, endy: int, window: WindowAttributes) =
   let color = color.cellColor()
 
   var starty = starty div window.ppl