From eec0a0cb180d96c979b9f0ce5919f6d23557de83 Mon Sep 17 00:00:00 2001 From: wolfreak99 Date: Sat, 13 Aug 2016 04:06:47 -0400 Subject: [PATCH] Invalidate Map Generator button when resizing map window (#4271) --- src/windows/map.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/windows/map.c b/src/windows/map.c index 6ca60eb9e3..47c4887afd 100644 --- a/src/windows/map.c +++ b/src/windows/map.c @@ -741,6 +741,9 @@ static void window_map_invalidate(rct_window *w) w->widgets[WIDX_LAND_TOOL_LARGER].top = w->height - 27; w->widgets[WIDX_LAND_TOOL_LARGER].bottom = w->height - 27 + 15; + w->widgets[WIDX_MAP_GENERATOR].top = w->height - 69; + w->widgets[WIDX_MAP_GENERATOR].bottom = w->height - 69 + 11; + // Land tool mode (4 checkboxes) height = w->height - 55; for (i = 0; i < 4; i++) {