Editor panning scheme should be Scroll Pans by default on laptop #11582
ssambender
started this conversation in
Editor
Replies: 1 comment 4 replies
-
I don't think Godot can detect whether the mouse input is coming from a touchpad or not. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When on a laptop/trackpad, I find the editor settings very unintuitive. Since the typical pinch/zoom gesture pans side to side instead of zooming, as well as the two-finger drag (pan) gesture zooming in and out. Essentially the controls are reversed when on laptop, but I understand with a normal mouse it makes sense.
In
Editor -> Editor Settings -> Editors
, there are options to change these, and updating the top two enums fromScroll Zooms
toScroll Pans
fixes this issue.editor_settings.cpp:
Is there a way to go about making the enums set to
Scroll Pans
by default when the detected input is trackpad/touchpad.Something with the
ImGui::GetIO().MouseWheel
I would assume, just not sure as to where that part of the code would be inserted.Beta Was this translation helpful? Give feedback.
All reactions