diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-11-11 17:22:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-11 17:22:47 +0100 |
commit | 957910c480b16e0ea976ddd104f78c97bc7cf437 (patch) | |
tree | 90250b978a50efa44aebf0789f658df989572822 | |
parent | e9c267ec05ddf5c9824e83e44bedb4c6be483007 (diff) | |
parent | c77ce40c3b322fe2cf7509e2c74edb02fbc59bf5 (diff) |
Merge pull request #33544 from YeldhamDev/camera_override_tooltip_adustment
Minor adjustment in the "Game Camera Override" button's tooltip.
-rw-r--r-- | editor/plugins/canvas_item_editor_plugin.cpp | 4 | ||||
-rw-r--r-- | editor/plugins/spatial_editor_plugin.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index 1b263fa4f6..7170ce30cc 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -4340,11 +4340,11 @@ void CanvasItemEditor::_button_toggle_anchor_mode(bool p_status) { void CanvasItemEditor::_update_override_camera_button(bool p_game_running) { if (p_game_running) { override_camera_button->set_disabled(false); - override_camera_button->set_tooltip(TTR("Game camera override\nOverrides game camera with editor viewport camera.")); + override_camera_button->set_tooltip(TTR("Game Camera Override\nOverrides game camera with editor viewport camera.")); } else { override_camera_button->set_disabled(true); override_camera_button->set_pressed(false); - override_camera_button->set_tooltip(TTR("Game camera override\nNo game instance running.")); + override_camera_button->set_tooltip(TTR("Game Camera Override\nNo game instance running.")); } } diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index c989613f02..e0189f8a92 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -4423,11 +4423,11 @@ void SpatialEditor::_update_camera_override_button(bool p_game_running) { if (p_game_running) { button->set_disabled(false); - button->set_tooltip(TTR("Game camera override\nNo game instance running.")); + button->set_tooltip(TTR("Game Camera Override\nNo game instance running.")); } else { button->set_disabled(true); button->set_pressed(false); - button->set_tooltip(TTR("Game camera override\nOverrides game camera with editor viewport camera.")); + button->set_tooltip(TTR("Game Camera Override\nOverrides game camera with editor viewport camera.")); } } |