Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platform
This commit is contained in:
parent
571cd0eb79
commit
6afadbaa9f
25 changed files with 54 additions and 50 deletions
|
|
@ -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"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue