diff options
author | bptato <nincsnevem662@gmail.com> | 2022-06-18 12:56:38 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-06-18 12:56:38 +0200 |
commit | ca5aea893942c45c6f654db2dd27a9c4d62fd60c (patch) | |
tree | 5b88138ca22f686df1ef23e7929eb58da6e44d0e /src/render | |
parent | 71b19f37d09d0bb8eb18468b4c3dd40e9f9c7dca (diff) | |
download | chawan-ca5aea893942c45c6f654db2dd27a9c4d62fd60c.tar.gz |
specified -> computed
Continuing commit 7e65add
Diffstat (limited to 'src/render')
-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) |