set max scrolling value to the bottom of the open list, if applicable
This commit is contained in:
parent
60d1d8e3ee
commit
e476ed5c62
|
@ -321,6 +321,9 @@ public class OptionsOverlay extends OverlayOpsuState {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
maxScrollOffset -= height * 2 / 3;
|
maxScrollOffset -= height * 2 / 3;
|
||||||
|
if (isListOptionOpen) {
|
||||||
|
maxScrollOffset = Math.max(maxScrollOffset, listHeight);
|
||||||
|
}
|
||||||
if (maxScrollOffset < 0) {
|
if (maxScrollOffset < 0) {
|
||||||
maxScrollOffset = 0;
|
maxScrollOffset = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user