Merge pull request #12903 from YeldhamDev/scrollcontainer_arrangement
Small arrangement in ScrollContainer
This commit is contained in:
commit
3c64635003
@ -347,11 +347,10 @@ void ScrollContainer::update_scrollbars() {
|
|||||||
} else {
|
} else {
|
||||||
|
|
||||||
v_scroll->show();
|
v_scroll->show();
|
||||||
scroll.y = v_scroll->get_value();
|
|
||||||
}
|
|
||||||
|
|
||||||
v_scroll->set_max(min.height);
|
v_scroll->set_max(min.height);
|
||||||
v_scroll->set_page(size.height - hmin.height);
|
v_scroll->set_page(size.height - hmin.height);
|
||||||
|
scroll.y = v_scroll->get_value();
|
||||||
|
}
|
||||||
|
|
||||||
if (!scroll_h || min.width <= size.width - vmin.width) {
|
if (!scroll_h || min.width <= size.width - vmin.width) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user