KineticScrolling Minor fixes

for selection in large BeatmapSets
This commit is contained in:
fd
2015-09-19 12:11:07 -04:00
parent c58c128ec8
commit b843beb3c0
2 changed files with 6 additions and 3 deletions

View File

@@ -103,6 +103,8 @@ public class KineticScrolling {
* @param newPosition the position to scroll to
*/
public void scrollToPosition(float newPosition) {
pressed();
released();
amplitude = newPosition - position;
target = newPosition;
totalDelta = 0;