mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Remove shortcut conflict
This commit is contained in:
parent
db913cb9b8
commit
7c52824504
@ -4351,7 +4351,7 @@ CanvasItemEditor::CanvasItemEditor(EditorNode *p_editor) {
|
|||||||
snap_button->set_toggle_mode(true);
|
snap_button->set_toggle_mode(true);
|
||||||
snap_button->connect("toggled", this, "_button_toggle_snap");
|
snap_button->connect("toggled", this, "_button_toggle_snap");
|
||||||
snap_button->set_tooltip(TTR("Toggle snapping."));
|
snap_button->set_tooltip(TTR("Toggle snapping."));
|
||||||
snap_button->set_shortcut(ED_SHORTCUT("canvas_item_editor/use_snap", TTR("Use Snap"), KEY_S));
|
snap_button->set_shortcut(ED_SHORTCUT("canvas_item_editor/use_snap", TTR("Use Snap"), KEY_MASK_SHIFT | KEY_S));
|
||||||
|
|
||||||
snap_config_menu = memnew(MenuButton);
|
snap_config_menu = memnew(MenuButton);
|
||||||
hb->add_child(snap_config_menu);
|
hb->add_child(snap_config_menu);
|
||||||
|
Loading…
Reference in New Issue
Block a user