Minor adjustment in the "Game Camera Override" button's tooltip.
This commit is contained in:
parent
6b1628f9fc
commit
c77ce40c3b
2 changed files with 4 additions and 4 deletions
|
@ -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."));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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."));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue