Remove middle click shortcut to open scene tab

This commit is contained in:
kobewi 2022-09-04 00:50:17 +02:00
parent b6d102c7c2
commit 78ad5e4305
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}