mirror of https://github.com/OpenRCT2/OpenRCT2.git
fix scroll flags not reset bug
This commit is contained in:
parent
456e3983ce
commit
f60b4d8f62
|
@ -720,6 +720,7 @@ void window_init_scroll_widgets(rct_window *w)
|
||||||
}
|
}
|
||||||
|
|
||||||
scroll = &w->scrolls[scroll_index];
|
scroll = &w->scrolls[scroll_index];
|
||||||
|
scroll->flags = 0;
|
||||||
window_get_scroll_size(w, scroll_index, &width, &height);
|
window_get_scroll_size(w, scroll_index, &width, &height);
|
||||||
scroll->h_left = 0;
|
scroll->h_left = 0;
|
||||||
scroll->h_right = width + 1;
|
scroll->h_right = width + 1;
|
||||||
|
|
Loading…
Reference in New Issue