Figma-like editor UX - #61
Merged
Merged
Conversation
Rework the pixel editor to feel like Figma: trackpad pan, ctrl/cmd+wheel zoom-at-cursor (also trackpad pinch), discrete-step zoom tool, glyph drag via the Move tool, space-bar pan override, and arrow-key nudge. - Canvas grows symmetrically around the cell with viewport-proportional overscan so there is always somewhere to pan, regardless of zoom. - Inline-flex wrapper lets the scroll container measure the canvas's intrinsic width; previously the wrapper squashed it, breaking centering and pointer-to-cell mapping. - Recenter the cell on glyph change, zoom-to-fit (Shift+0), and zoom-to-100% (Shift+1). - Move-tool grab outline marks the full grab region (1 cell of slack). - Toolbar: undo/redo buttons, brush-size stepper, zoom controls (− value + 100% fit grid), reordered into logical clusters. - Undo snapshots now carry width/height so paint-grown buffers restore correctly. - Help overlay gains a Navigation section documenting the new gestures. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
🤖 Generated with Claude Code