@yuneta/gobj-ui 7.23.3 → 7.23.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -448,12 +448,16 @@ stays. Note the close contract: `C_YUI_WINDOW.close_window()` calls `on_close`
448
448
  and THEN destroys itself, so a host must drop its reference rather than destroy
449
449
  the window too.
450
450
 
451
- Its camera speaks the **same vocabulary as the treedb graph** (`7.23.3`): zoom
452
- in / zoom out, a live **zoom readout**, `yi-fit` for fit — the same corner
453
- brackets the SVG sprite draws for `g6-icon-fit` — and the WRITTEN `1:1` for
454
- actual size, which is written in every editor that offers it and never drawn.
455
- The readout hangs off G6's `aftertransform`, the one hook that also covers the
456
- wheel.
451
+ Its camera comes from **`yui_graph_camera.js`** (`7.23.4`), the one place every
452
+ DOM-toolbar graph asks for one — this gclass and the gobj tree both, so a
453
+ cloned toolbar cannot drift apart again. The vocabulary is the treedb graph's
454
+ (`c_g6_nodes_tree.js`, which draws its toolbar as a G6 plugin over an SVG
455
+ sprite and so cannot share the code, only the decisions): zoom in / zoom out, a
456
+ live **zoom readout**, `yi-fit` for fit — the same corner brackets the sprite
457
+ draws for `g6-icon-fit` — and the WRITTEN `1:1` for actual size, which is
458
+ written in every editor that offers it and never drawn. Fold is the chevron
459
+ pair, from the lazy tree viewer's own toolbar. The readout hangs off G6's
460
+ `aftertransform`, the one hook that also covers the wheel.
457
461
 
458
462
  The graph carries **its own** toolbar, a **layout picker**
459
463
  (`EV_CHANGE_LAYOUT {layout}`: `vertical tree`, `dagre top-down`,