diff options
Diffstat (limited to 'src/layout/renderdocument.nim')
-rw-r--r-- | src/layout/renderdocument.nim | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/layout/renderdocument.nim b/src/layout/renderdocument.nim index 06a6992a..7227cbfe 100644 --- a/src/layout/renderdocument.nim +++ b/src/layout/renderdocument.nim @@ -431,16 +431,6 @@ proc renderBlockBox(grid: var FlexibleGrid; state: var RenderState; let y = toInt(offset.y div state.attrs.ppl) if y >= 0 and x + w >= 0: grid.setText(s, x, y, box.computed.toFormat(), box.node) - - if box of ListItemBox: - let box = ListItemBox(box) - if box.marker != nil: - let offset = Offset( - x: offset.x - box.marker.size.w, - y: offset.y - ) - grid.renderRootInlineFragment(state, box.marker, offset) - if box.inline != nil: assert box.nested.len == 0 if box.computed{"visibility"} == VISIBILITY_VISIBLE: |