summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-09-14 23:15:09 +0200
committerGitHub <noreply@github.com>2018-09-14 23:15:09 +0200
commit9b97c74f5024be86529019166cc76c309e541c25 (patch)
tree7a9be06f093582c3775f31149569d6e41e8df5de
parentaf5c30acb2eee54ce78e3dc713eea97bd3ddc18d (diff)
parentd934cbcbc9a834063c4367260ea7473ba1aac848 (diff)
Merge pull request #22081 from akien-mga/canvasitem-zoom-equal
Set default CanvasItemEditor zoom shortcut to KEY_EQUAL
-rw-r--r--editor/plugins/canvas_item_editor_plugin.cpp2
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 48486a1cc2..34159964a5 100644
--- a/editor/plugins/canvas_item_editor_plugin.cpp
+++ b/editor/plugins/canvas_item_editor_plugin.cpp
@@ -4390,7 +4390,7 @@ CanvasItemEditor::CanvasItemEditor(EditorNode *p_editor) {
zoom_plus = memnew(ToolButton);
zoom_hb->add_child(zoom_plus);
zoom_plus->connect("pressed", this, "_button_zoom_plus");
- zoom_plus->set_shortcut(ED_SHORTCUT("canvas_item_editor/zoom_plus", TTR("Zoom in"), KEY_MASK_CMD | KEY_PLUS));
+ zoom_plus->set_shortcut(ED_SHORTCUT("canvas_item_editor/zoom_plus", TTR("Zoom in"), KEY_MASK_CMD | KEY_EQUAL)); // Usually direct access key for PLUS
zoom_plus->set_focus_mode(FOCUS_NONE);
updating_scroll = false;