Record that Remap is temporary, to be deleted by region chaining

This commit is contained in:
iris-ai committed 2026-09-14 02:44:58 -04:00
1 parent d373a1b05c
commit 9f039d6440
1 file changed
+7 -1
+7 -1
View File
@@ -9,7 +9,7 @@ Canonical `main` is **`43ce8c7`** (#12, pointer routing). Fourteen slices are
in.
- **#16** `split/16-draw-size`, worktree `/home/bob/repos/iris-pr16`, head
`53e6128`. A widget sizes itself while drawing; `SizeCtx`, the `desired_*`
`4654756`. A widget sizes itself while drawing; `SizeCtx`, the `desired_*`
methods and the size cache are gone, and `on_resize(axis)` drives the
retained path. Two review rounds answered: `Widget::draw` returns the `Size`
(no `Painter::set_size`), both `place` methods are folded back into
@@ -41,6 +41,12 @@ a plausible number there instead of saying so; it and `outside` now return
`Option`, and `Remap` is the checked region-level operation, so a drawing that
cannot be taken out of its box is redrawn rather than left at its old size.
`Remap` is explicitly a holding pattern: the owner accepted it on 2026-09-14
with *"I don't like remap much but I'll let it in for now until we get proper
region chaining"*. Delete it in the chaining slice rather than build on it --
holding each part's own region against its box means there is no composition to
invert and nothing for `Remap` to check.
Counted draws on a resize, against the old wipe-everything: 101 widgets of
padded rows went 101 -> 0, `tabs` 73 -> 0, and the `text` example 49 -> 48. The
last is the shape that does not benefit -- both paragraphs rewrap to a different