diff --git a/editor/icons/Suspend.svg b/editor/icons/Suspend.svg new file mode 100644 index 00000000000..daba9c27d22 --- /dev/null +++ b/editor/icons/Suspend.svg @@ -0,0 +1 @@ + diff --git a/editor/run/game_view_plugin.cpp b/editor/run/game_view_plugin.cpp index 4903d02b649..18677397a10 100644 --- a/editor/run/game_view_plugin.cpp +++ b/editor/run/game_view_plugin.cpp @@ -776,7 +776,7 @@ void GameView::_notification(int p_what) { } break; case NOTIFICATION_THEME_CHANGED: { - suspend_button->set_button_icon(get_editor_theme_icon(SNAME("Pause"))); + suspend_button->set_button_icon(get_editor_theme_icon(SNAME("Suspend"))); next_frame_button->set_button_icon(get_editor_theme_icon(SNAME("NextFrame"))); node_type_button[RuntimeNodeSelect::NODE_TYPE_NONE]->set_button_icon(get_editor_theme_icon(SNAME("InputEventJoypadMotion"))); @@ -1064,6 +1064,7 @@ GameView::GameView(Ref p_debugger, EmbeddedProcessBase *p_embe suspend_button->connect(SceneStringName(toggled), callable_mp(this, &GameView::_suspend_button_toggled)); suspend_button->set_accessibility_name(TTRC("Suspend")); suspend_button->set_shortcut(ED_GET_SHORTCUT("editor/suspend_resume_embedded_project")); + suspend_button->set_tooltip_text(TTRC("Force pause at SceneTree level. Stops all processing, but you can still interact with the project.")); next_frame_button = memnew(Button); main_menu_hbox->add_child(next_frame_button);