mirror of
https://github.com/godotengine/godot.git
synced 2025-03-19 23:53:32 +08:00
Tweak the 2D game camera override tooltips to match 3D
(cherry picked from commit bdca0daadc93fd251e3eb03b5c47431315db7404)
This commit is contained in:
parent
b35e61ba85
commit
65063dbe0a
@ -4625,11 +4625,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("Project Camera Override\nOverrides the running project's camera with the 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("Project Camera Override\nNo project instance running. Run the project from the editor to use this feature."));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user