mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 20:23:53 +00:00
Merge pull request #65302 from KoBeWi/middle_click_of_exasperation
Remove middle click shortcut to open scene tab
This commit is contained in:
commit
885cb808db
@ -5441,7 +5441,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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user