openpencil/tests/e2e
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
brand
canvas fix: zoom in place, shape cursor names, and align context menu items (#818) 2026-10-01 21:34:36 +04:00
chat
clipboard
code
collab
color-picker
components
context-menu
design
dom-css
editor
export
fonts
keyboard
layers
native
pages
panels
perf
properties
scene
settings
snap
storage
storybook
stroke-picker
text
toolbar
tools
ui
variables
vectorize
viewport
autosave.spec.ts
components.spec.ts
fixtures.ts
recovery.spec.ts