GraphiteEditor / GraphiteEditor/Graphite
Lock axis when panning
- Dominant language
- Rust
- Stars
- 27.2k
- Forks
- 1.3k
- Avg merge
- 20h 5m
- Merged PRs (30d)
- 57
Description
While panning the canvas (with MMB+drag or Space+drag), add support for locking to the X or Y axis with the Shift modifier key held down.
If the viewport is tilted (with Alt+MMB drag or Alt+Space+LMB drag), it should remain aligned with the X and Y axes of the viewport not the tilted document.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the canvas panning entry points for MMB+drag, Space+drag, and the tilted viewport gestures using Alt. Trace how Shift-modified movement is interpreted and how viewport axes are represented. Done means Shift constrains panning to the viewport's X or Y axis, including when the document is tilted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100