feat(render): complete both renderers, click-to-select and overflow #31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/m4-renderers"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
on a fixture sheet that uses all of them plus every box shape and an opaque
widget node
that is the widget node, so a tick box selects the todo widget
misses every mark clears the selection
labelled with the overflow in mm, and export warns naming it
24 is a caller that passes more of them
renderers keep consuming the same list and the exported PDF stays clean
Test plan
what the svg element says it has to be
Closes #14
Closes #15
Review fixes pushed:
overflow.tsfits tolerance sat at1e-9while the label rounds to 0.1mm, so content a few hundredths past the margin drew a red band and warned "Content draws 0.0mm past the bottom margin". Tolerance now sits at the reporting resolution (cb0de79).downloadPdfawaitedrenderPdfwith no handler andAppfired it as a floating promise, so a string Helvetica cannot encode (layout flags the node but still emits the primitive) made the button do nothing at all, with the rejection only reaching the console. Now caught and reported (c754018).Test plan: 316 tests pass,
tsc --noEmitandeslintclean; both fixes carry a regression test.