mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 04:23:20 +01:00
Fix formating of input.c. Added bring to front on scroll to mask #784
This commit is contained in:
@@ -1232,6 +1232,7 @@ void window_zoom_in(rct_window *w)
|
||||
w->saved_view_x += v->view_width >> 1;
|
||||
w->saved_view_y += v->view_height >> 1;
|
||||
|
||||
window_bring_to_front(w);
|
||||
window_invalidate(w);
|
||||
}
|
||||
|
||||
@@ -1259,6 +1260,7 @@ void window_zoom_out(rct_window *w)
|
||||
w->saved_view_x -= width / 2;
|
||||
w->saved_view_y -= height >> 1;
|
||||
|
||||
window_bring_to_front(w);
|
||||
window_invalidate(w);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user