You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platform
This commit is contained in:
@@ -1304,7 +1304,8 @@ Polygon2DEditor::Polygon2DEditor() {
|
||||
uv_button[UV_MODE_CREATE]->set_tooltip_text(TTR("Create Polygon"));
|
||||
uv_button[UV_MODE_CREATE_INTERNAL]->set_tooltip_text(TTR("Create Internal Vertex"));
|
||||
uv_button[UV_MODE_REMOVE_INTERNAL]->set_tooltip_text(TTR("Remove Internal Vertex"));
|
||||
uv_button[UV_MODE_EDIT_POINT]->set_tooltip_text(TTR("Move Points") + "\n" + TTR("Ctrl: Rotate") + "\n" + TTR("Shift: Move All") + "\n" + TTR("Shift+Ctrl: Scale"));
|
||||
Key key = (OS::get_singleton()->has_feature("macos") || OS::get_singleton()->has_feature("web_macos") || OS::get_singleton()->has_feature("web_ios")) ? Key::META : Key::CTRL;
|
||||
uv_button[UV_MODE_EDIT_POINT]->set_tooltip_text(TTR("Move Points") + "\n" + find_keycode_name(key) + TTR(": Rotate") + "\n" + TTR("Shift: Move All") + "\n" + keycode_get_string((Key)KeyModifierMask::CMD_OR_CTRL) + TTR("Shift: Scale"));
|
||||
uv_button[UV_MODE_MOVE]->set_tooltip_text(TTR("Move Polygon"));
|
||||
uv_button[UV_MODE_ROTATE]->set_tooltip_text(TTR("Rotate Polygon"));
|
||||
uv_button[UV_MODE_SCALE]->set_tooltip_text(TTR("Scale Polygon"));
|
||||
|
||||
Reference in New Issue
Block a user