Skip to content

Size Markdown table keylines from the same geometry as their cells - #119

Merged
trissim merged 1 commit into
mainfrom
fix/native-keyline-capture-20261008
Oct 8, 2026
Merged

trissim merged 1 commit into
mainfrom
fix/native-keyline-capture-20261008

Conversation

@trissim

@trissim trissim commented Oct 8, 2026 •

Copy link
Copy Markdown

Layout.render_keyline sized its canvas from container.outer_size, which is only updated by resize events, while the child rectangles came from container.region. For offscreen tables captured in full but never resized, the canvas had zero size and the keylines disappeared even though the cells were drawn. The canvas now uses container.region.size in layout.py. A test is added in test_viewport_geometry_targets.py.

Copilot AI balanced review requested due to automatic review settings October 8, 2026 07:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@trissim
trissim merged commit b486961 into main Oct 8, 2026
0 of 22 checks passed
@trissim trissim changed the title Keep offscreen Markdown table keylines in captured paint Size Markdown table keylines from the same geometry as their cells Oct 11, 2026
@trissim
trissim deleted the fix/native-keyline-capture-20261008 branch October 11, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants