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.