Fixed a minor kinetic scrolling bug in the song menu.

Added a missing "songScrolling.released()" call upon entering the song menu as the pressed state wasn't being cleared (causing an issue with the scroll wheel upon re-entering the state).

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han
2015-09-16 15:42:00 -04:00
parent e0da6a2444
commit 0278556947
3 changed files with 7 additions and 6 deletions

View File

@@ -796,8 +796,8 @@ public class DownloadsMenu extends BasicGameState {
@Override
public void mouseReleased(int button, int x, int y) {
startDownloadIndexPos.release();
startResultPos.release();
startDownloadIndexPos.released();
startResultPos.released();
}
@Override