mirror of
https://github.com/penpot/penpot.git
synced 2026-11-27 21:57:52 +00:00
📚 Note how text reflow signals hold layout waits
A text reflow signal keeps the text pending until a resize or measurement starts, so a signal that no resize follows makes `waitForLayoutUpdate` time out. The note names where the signal is decided and the prop that a commit path laying out its own texts passes. AI-assisted-by: claude-opus-5-5
This commit is contained in:
parent
2c3dfa9a83
commit
2fec140216
@ -18,4 +18,5 @@
|
||||
|
||||
- WASM modifier updates set plugin/local props with parsed geometry/structure modifiers rather than directly mutating file data.
|
||||
- The position-data recomputation watcher ignores commits tagged `:position-data`; keep that tag when adding derived position-data commits.
|
||||
- Rotation has separate WASM and non-WASM event paths. Check both when changing rotation modifier semantics.
|
||||
- Rotation has separate WASM and non-WASM event paths. Check both when changing rotation modifier semantics.
|
||||
- A `:text/reflow` signal holds the text in the reflow pending map (`:text-bridge`) until a `:text-resize` or `:text-measure` task starts; a signal no resize follows makes `waitForLayoutUpdate` time out. `reflow/signals.cljs` signals only texts auto-sized after the update, and `apply-wasm-modifiers` commits with `:text-reflow? false` because WASM already laid its texts out. A new commit path that settles text geometry itself must pass the same prop.
|
||||
Loading…
x
Reference in New Issue
Block a user