From c66a64ac56baf3dfc764870322bf57b8b2d357e4 Mon Sep 17 00:00:00 2001 From: Duncan Frost Date: Thu, 5 Mar 2015 21:27:38 +0000 Subject: [PATCH] Add hack to fix scenery scroll bar --- src/windows/scenery.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/windows/scenery.c b/src/windows/scenery.c index 1eb28bbb38..b987155006 100644 --- a/src/windows/scenery.c +++ b/src/windows/scenery.c @@ -570,12 +570,16 @@ static void window_scenery_resize() if (w->height < w->min_height) { w->height = w->min_height; window_invalidate(w); + // HACK: For some reason invalidate has not been called + window_event_invalidate_call(w); window_scenery_update_scroll(w); } if (w->height > w->max_height) { w->height = w->max_height; window_invalidate(w); + // HACK: For some reason invalidate has not been called + window_event_invalidate_call(w); window_scenery_update_scroll(w); } }