openpencil/tests
Danila Poyarkov 8528a917c0
fix: zoom in place, shape cursor names, and align context menu items (#818)
* fix(editor): keep the centered point when zooming to a fixed level

zoomToLevel found the world point at the viewport center, changed the zoom, then set the pan from that point without scaling it by the new zoom, so zooming to 100% from any other level moved the view away.

* fix(canvas): shape collaborator cursor names

Cursor names were drawn with Canvas.drawText, which neither kerns nor falls back to other fonts, so names like Orbit showed visible gaps. Draw them through the label paragraph cache like section and component titles, which also ellipsizes long names.

* fix(ui): drop icons from three canvas context menu items

Flatten, Outline text, and Outline stroke were the only context menu items with icons, so the menu looked uneven. The icon map also listed boolean operations that the context menu never shows; remove it.

* fix(app): cap the canvas menu width so long page names truncate
2026-10-01 21:34:36 +04:00
..
app feat(app): jump between pages from the command palette (#801) 2026-10-01 20:26:35 +04:00
e2e fix: zoom in place, shape cursor names, and align context menu items (#818) 2026-10-01 21:34:36 +04:00
engine refactor: print OpenPencil JSX export as syntax trees (#799) 2026-10-01 21:22:43 +04:00
figma
fixtures feat(fig): occurrence-scoped instance interpretation as the single .fig reader 2026-10-01 11:20:27 +04:00
helpers feat(app): jump between pages from the command palette (#801) 2026-10-01 20:26:35 +04:00
integration feat(fig): occurrence-scoped instance interpretation as the single .fig reader 2026-10-01 11:20:27 +04:00
AGENTS.md test(core): move the fig round-trip suite home, and stop test imports drilling 2026-10-01 14:11:53 +04:00