openpencil/packages/docs/development
Danila Poyarkov 6a9b69f677
fix: keep bound text and visibility in step with their variables (#954)
* fix: keep bound text and visibility in step with their variables

Text bound to a string variable was resolved only when a .fig file was read, and visibility bound to a boolean never, so editing the value or switching a mode left them showing the old one. The binding reconcile, renamed reconcileVariableBindings, now resolves text and visibility with numbers, scoped the same way, and .fig export writes them resolved in each collection's default mode. A bound font family is left as stored, since changing it needs the font loaded.

* fix: keep text and visibility an instance overrides over their bindings

Typing in a bound layer inside an instance or toggling its eye records an override but keeps the binding, so the next value edit or mode switch replaced what was typed or hidden. An overridden text or visibility now keeps its value, as an overridden width or height does.
2026-10-07 18:37:15 +00:00
..
architecture.md feat: behaviours and preview mode (#893) 2026-10-06 13:23:05 +00:00
behaviours-and-preview.md feat: behaviours and preview mode (#893) 2026-10-06 13:23:05 +00:00
contributing.md docs: route contributors through per-domain guides and ship npm license text (#785) 2026-09-29 01:02:06 +04:00
fig-reader.md feat(fig): occurrence-scoped instance interpretation as the single .fig reader 2026-10-01 11:20:27 +04:00
navigation-performance.md build(tools): group tools by role and gate them like the rest of the repo (#791) 2026-09-30 05:00:31 +04:00
renderer-lifecycle.md perf(canvas): rebuild navigation rendering (#591) 2026-08-31 13:39:40 +03:00
renderer-profiler.md
roadmap.md fix: keep bound text and visibility in step with their variables (#954) 2026-10-07 18:37:15 +00:00
tech-stack.md docs: refresh contributor guidance 2026-09-02 10:56:00 +03:00
testing.md test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
vector-conversion.md docs: generate llms files 2026-05-22 16:03:04 +03:00