1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

Fixed ctrl+up/down shortcut no longer working in scene tree

Fixed ctrl+up/down shortcut no longer working in scene tree.
This commit is contained in:
DualMatrix
2018-09-17 22:54:39 +02:00
parent 8704b77876
commit f8ead1a2ee

View File

@@ -2239,13 +2239,13 @@ void Tree::_gui_input(Ref<InputEvent> p_event) {
_go_left();
}
} else if (p_event->is_action("ui_up") && p_event->is_pressed()) {
} else if (p_event->is_action("ui_up") && p_event->is_pressed() && !k->get_command()) {
if (!cursor_can_exit_tree) accept_event();
_go_up();
} else if (p_event->is_action("ui_down") && p_event->is_pressed()) {
} else if (p_event->is_action("ui_down") && p_event->is_pressed() && !k->get_command()) {
if (!cursor_can_exit_tree) accept_event();