M8: Zoom to selection leaves Figma's 40 pt margin and clears the bottom toolbar

Zoom to selection (Shift+2) fits the selection into the canvas above the floating bottom toolbar with a 40 pt margin on all sides, centred in that area (measured in Figma's web app, 2026-11-09). ViewState gains an unsaved bottom_inset, set by the UI each frame from the toolbar pill and by view.set bottomInset. Zoom to fit is unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Model-Effort: Opus 5.5 drove and briefed; Sonnet 5.5 measured and wrote at medium
This commit is contained in:
Trevor Brown
2026-11-08 23:55:45 -05:00
co-authored by Claude Sonnet 5.5
parent 970cdfe664
commit fceb606314
6 changed files with 108 additions and 20 deletions
+3 -2
View File
File diff suppressed because one or more lines are too long