summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Alexsander <michaelalexsander@protonmail.com>2019-11-11 11:46:23 -0300
committerMichael Alexsander <michaelalexsander@protonmail.com>2019-11-11 11:46:23 -0300
commitc77ce40c3b322fe2cf7509e2c74edb02fbc59bf5 (patch)
tree115eeef4ec430f64967ed19430855bef683ee5c8
parent6b1628f9fcc50dc16af08c2b87f27108ff6e15c5 (diff)
Minor adjustment in the "Game Camera Override" button's tooltip.
-rw-r--r--editor/plugins/canvas_item_editor_plugin.cpp4
-rw-r--r--editor/plugins/spatial_editor_plugin.cpp4
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."));
}
}