GraphiteEditor/Graphite

Lock axis when panning

Open

#2,377 opened on Mar 7, 2025

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Rust (1,176 forks)batch import
Good First Issue

Repository metrics

Stars
 (25,662 stars)
PR merge metrics
 (Avg merge 6d 9h) (65 merged PRs in 30d)

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