diff --git a/distribution/changelog.txt b/distribution/changelog.txt index feb9627f35..31bcd9d57f 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -2,6 +2,7 @@ ------------------------------------------------------------------------ - Feature: [#13057] Make GameAction flags accessible by plugins. - Feature: [#13376] Open custom window at specified tab. +- Feature: [#13398] Add pause button to the Track Designer. - Change: [#13346] Change FootpathScenery to FootpathAddition in all occurrences. - Fix: [#12895] Mechanics are called to repair rides that have already been fixed. - Fix: [#13257] Rides that are exactly the minimum objective length are not counted. diff --git a/src/openrct2-ui/windows/TopToolbar.cpp b/src/openrct2-ui/windows/TopToolbar.cpp index 11758ae4ee..ff01670871 100644 --- a/src/openrct2-ui/windows/TopToolbar.cpp +++ b/src/openrct2-ui/windows/TopToolbar.cpp @@ -672,9 +672,13 @@ static void window_top_toolbar_invalidate(rct_window* w) window_top_toolbar_widgets[WIDX_CHAT].type = WindowWidgetType::Empty; } - if (gScreenFlags & SCREEN_FLAGS_EDITOR) + if (gScreenFlags & SCREEN_FLAGS_SCENARIO_EDITOR || gScreenFlags & SCREEN_FLAGS_TRACK_MANAGER) { window_top_toolbar_widgets[WIDX_PAUSE].type = WindowWidgetType::Empty; + } + + if (gScreenFlags & SCREEN_FLAGS_EDITOR) + { window_top_toolbar_widgets[WIDX_RIDES].type = WindowWidgetType::Empty; window_top_toolbar_widgets[WIDX_PARK].type = WindowWidgetType::Empty; window_top_toolbar_widgets[WIDX_STAFF].type = WindowWidgetType::Empty;