1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Fix rectangle paint tooltip for the tilemap editor on macOS

This also fixes the Move Points tooltip for the 2D polygon editor.

This closes #42702.
This commit is contained in:
Hugo Locurcio
2020-10-10 21:55:38 +02:00
parent a392aa455f
commit aaffd61903
2 changed files with 8 additions and 0 deletions

View File

@@ -1333,7 +1333,11 @@ Polygon2DEditor::Polygon2DEditor(EditorNode *p_editor) :
uv_button[UV_MODE_CREATE]->set_tooltip(TTR("Create Polygon"));
uv_button[UV_MODE_CREATE_INTERNAL]->set_tooltip(TTR("Create Internal Vertex"));
uv_button[UV_MODE_REMOVE_INTERNAL]->set_tooltip(TTR("Remove Internal Vertex"));
#ifdef OSX_ENABLED
uv_button[UV_MODE_EDIT_POINT]->set_tooltip(TTR("Move Points") + "\n" + TTR("Command: Rotate") + "\n" + TTR("Shift: Move All") + "\n" + TTR("Shift+Command: Scale"));
#else
uv_button[UV_MODE_EDIT_POINT]->set_tooltip(TTR("Move Points") + "\n" + TTR("Ctrl: Rotate") + "\n" + TTR("Shift: Move All") + "\n" + TTR("Shift+Ctrl: Scale"));
#endif
uv_button[UV_MODE_MOVE]->set_tooltip(TTR("Move Polygon"));
uv_button[UV_MODE_ROTATE]->set_tooltip(TTR("Rotate Polygon"));
uv_button[UV_MODE_SCALE]->set_tooltip(TTR("Scale Polygon"));