mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-22 07:13:07 +01:00
This commit is contained in:
committed by
Michael Steenbeek
parent
7703774437
commit
e149722a15
@@ -689,10 +689,9 @@ static void window_invalidate_pressed_image_buttons(rct_window* w)
|
||||
*/
|
||||
void invalidate_all_windows_after_input()
|
||||
{
|
||||
for (auto& w : g_window_list)
|
||||
{
|
||||
window_update_scroll_widgets(w.get());
|
||||
window_invalidate_pressed_image_buttons(w.get());
|
||||
window_event_resize_call(w.get());
|
||||
}
|
||||
window_visit_each([](rct_window* w) {
|
||||
window_update_scroll_widgets(w);
|
||||
window_invalidate_pressed_image_buttons(w);
|
||||
window_event_resize_call(w);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user