diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-11-18 21:58:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-18 21:58:24 +0100 |
commit | a3a3b02bed3137e0ccac2cbb544a71502a659b80 (patch) | |
tree | 960679a67ed6933696ca715da1634ef2ed8e9e02 | |
parent | 818434fbcb50710f3ade75fb910418ce722c87d4 (diff) | |
parent | 381ba7d554b0f2af88cc945bb22cd62316d906b9 (diff) |
Merge pull request #43639 from timothyqiu/rotation-fix
Fixes rotation in select mode on macOS
-rw-r--r-- | editor/plugins/canvas_item_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index fc433b5e63..6acf80a2c1 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -1513,7 +1513,7 @@ bool CanvasItemEditor::_gui_input_rotate(const Ref<InputEvent> &p_event) { // Start rotation if (drag_type == DRAG_NONE) { if (b.is_valid() && b->get_button_index() == BUTTON_LEFT && b->is_pressed()) { - if ((b->get_control() && !b->get_alt() && tool == TOOL_SELECT) || tool == TOOL_ROTATE) { + if ((b->get_command() && !b->get_alt() && tool == TOOL_SELECT) || tool == TOOL_ROTATE) { List<CanvasItem *> selection = _get_edited_canvas_items(); // Remove not movable nodes |