GraphiteEditor/Graphite

Lock axis when panning

Open

#2,377 opened on Mar 7, 2025

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

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