mirror of
https://github.com/godotengine/godot.git
synced 2025-10-28 12:14:44 +00:00
Made trackpad behaviour optional in 3D mode (issue #4265)
This commit is contained in:
parent
7d1b4567b0
commit
84d706cb35
2 changed files with 3 additions and 1 deletions
|
|
@ -1579,7 +1579,8 @@ void SpatialEditorViewport::_sinput(const InputEvent &p_event) {
|
|||
if (m.mod.alt)
|
||||
nav_mode = NAVIGATION_PAN;
|
||||
}
|
||||
}else{
|
||||
|
||||
} else if (EditorSettings::get_singleton()->get("3d_editor/trackpad_hint")) {
|
||||
// Handle trackpad (no external mouse) use case
|
||||
int mod = 0;
|
||||
if (m.mod.shift)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue