Merge pull request #33544 from YeldhamDev/camera_override_tooltip_adustment

Minor adjustment in the "Game Camera Override" button's tooltip.
This commit is contained in:
Rémi Verschelde 2019-11-11 17:22:47 +01:00 committed by GitHub
commit 957910c480
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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."));
}
}

View File

@ -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."));
}
}