Merge pull request #899 from duncanspumpkin/scenery

Add hack to fix scenery scroll bar
This commit is contained in:
Ted John 2015-03-06 17:54:05 +00:00
commit ba5cf89f0d
1 changed files with 4 additions and 0 deletions

View File

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