diff options
author | kobewi <kobewi4e@gmail.com> | 2022-09-04 00:50:17 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-09-04 00:50:17 +0200 |
commit | 78ad5e43054f53b6b8dbdb24c024ef01d8c8a505 (patch) | |
tree | 1d791a2598c08bc3bc8ba7d712cfee40a8d81296 /editor | |
parent | b6d102c7c2d5e9f39f368bf1ebc91a48bf762c42 (diff) |
Remove middle click shortcut to open scene tab
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 58377eef0f..8ab451c24d 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -5309,7 +5309,7 @@ void EditorNode::_scene_tab_input(const Ref<InputEvent> &p_input) { _scene_tab_closed(scene_tabs->get_hovered_tab()); } } else { - if ((mb->get_button_index() == MouseButton::LEFT && mb->is_double_click()) || (mb->get_button_index() == MouseButton::MIDDLE && mb->is_pressed())) { + if (mb->get_button_index() == MouseButton::LEFT && mb->is_double_click()) { _menu_option_confirm(FILE_NEW_SCENE, true); } } |