1
0
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:
Duncan Frost
2015-02-28 13:53:30 +00:00
parent c30dda131d
commit daf0b4e1b1
2 changed files with 178 additions and 165 deletions

View File

@@ -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);
}