Alternative inputs for graph panning/camera orbiting#1343
Alternative inputs for graph panning/camera orbiting#1343RodZill4 merged 1 commit intoRodZill4:masterfrom
Conversation
18456f0 to
6d5479a
Compare
6d5479a to
34e32dc
Compare
|
Is it possible to also add zoom equivalents for the graph editor and 3d preview? Trying to use with a laptop and trackpad, I don't think there is a way to zoom these with hotkeys and no mouse. Presumably the same issue is had from a mouse user without a zoom wheel. Even just being able to use the standard + and - keys would be super useful to be be able to zoom in or out of any view. |
|
In the 3d preview you should be able to zoom with the trackpad pinch gesture, I think in the graph view the same gesture also zooms, which OS are you using? |
|
I tested on mac the gesture works |
|
Thanks, I was able to get pinch zoomi working on my Win10 laptop but only for the 2d and 3d previews, not the graph editor. My Linux Mint laptop was not able to do this, but I don't think it has a trackpad capable of doing zoom. The graph editor does have the + and - zoom buttons at least, but not sure if there is any way of binding these to hotkeys? No zoom widget exists in the 2d or 3d preview windows though. Would be good to unify the zooming ablities on all 3 panels at some point in the future. |
|
Does scrolling on the trackpad work? |
|
On my win10 laptop in the graph view , when using the pinch zoom, it does seem to scroll up and down in an odd way, but in general it seems confused. I guess my issue with relying on pinch to zoom in general, is that it is very specific to the hardware. While it is standard on Mac (which have very nice trackpads), older and cheaper Windows laptops don't all support it. Personally, I am not a fan of gestures on trackpads and prefer hotkeys. Great to see the PR for zoom htokey support. Is it possible this could also be added to the other views? Btw, Godot itself does have crtl + and - for zooming in it's 2d views. |
|
For now you can use ctrl + lmb drag to zoom the 2d views |

context via discord
This adds
Shift + LMBfor graph panning andAlt + LMBfor 3d orbit