set max scrolling value to the bottom of the open list, if applicable
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user