Skip to content

Add shift+trackpad panning to graph editor#268

Merged
michaelsakharov merged 1 commit intoProwlEngine:New-Editorfrom
PaperPrototype:shift-drag-to-pan-graph-editor
May 2, 2026
Merged

Add shift+trackpad panning to graph editor#268
michaelsakharov merged 1 commit intoProwlEngine:New-Editorfrom
PaperPrototype:shift-drag-to-pan-graph-editor

Conversation

@PaperPrototype
Copy link
Copy Markdown
Contributor

For us trackpad users you can now hold shift and drag to pan around the shader graph

Support panning via shift+two-finger trackpad drags by polling input and calling _view.PanBy(paper.PointerDelta). Trackpad drags don't trigger middle-mouse or Paper drag events, so this mirrors middle-button panning but only when Shift is held to avoid interfering with regular one-finger scrolling. Middle-mouse pan behavior is unchanged.
@michaelsakharov michaelsakharov merged commit 614dc37 into ProwlEngine:New-Editor May 2, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants