diff options
Diffstat (limited to 'src/render/renderdocument.nim')
-rw-r--r-- | src/render/renderdocument.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/renderdocument.nim b/src/render/renderdocument.nim index 9909190d..a8590b00 100644 --- a/src/render/renderdocument.nim +++ b/src/render/renderdocument.nim @@ -233,8 +233,8 @@ proc renderBlockContext(grid: var FlexibleGrid, ctx: BlockContext, x, y: int, te x += ctx.offset.x y += ctx.offset.y - if ctx.specified{"background-color"}.rgba.a != 0: #TODO color blending - grid.paintBackground(ctx.specified{"background-color"}, x, y, x + ctx.width, y + ctx.height, term) + if ctx.computed{"background-color"}.rgba.a != 0: #TODO color blending + grid.paintBackground(ctx.computed{"background-color"}, x, y, x + ctx.width, y + ctx.height, term) if ctx of ListItem: let ctx = ListItem(ctx) |