diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-28 13:42:03 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:14 -0300 |
| commit | 29e734cf91ffe5f4cca8b40a54aad91fff464a82 (patch) | |
| tree | 384056b816943fcff95a45d42cd1fd4be1fe6f1d /src/Text.zig | |
| parent | e11048c20a50b67841e648a4d5ddd7490bc9c9b7 (diff) | |
| download | pardes-29e734cf91ffe5f4cca8b40a54aad91fff464a82.tar.gz pardes-29e734cf91ffe5f4cca8b40a54aad91fff464a82.zip | |
Place every part of the frame once, before painting it
draw.place builds the Surface's region list at the head of render: the
page; each pane's grip, tag rows, body, rail with its thumb, and notice
chips; each column's grip and tag; the workspace tag. The painters read
their geometry from it instead of working it out again: the grid's notice
chips and the notice layers share one chip rectangle, the rails (file,
terminal, image, PDF page) paint the placed thumb (a native PDF measures
its own into the region as it places its pages), and the body, tag, notice
and column layers take their viewports from their regions. A collapsed pane
places only its grip and tag. The column-move rail's one-cell clip of the
layers under it is now a region field set in place, not a mutation of the
built layers. No behaviour change; a test checks every region against the
old geometry, the painted rail and the layer viewports across tag bottom,
column tags, notices, a collapsed pane and a multi-line tag.
Diffstat (limited to 'src/Text.zig')
0 files changed, 0 insertions, 0 deletions
