add chaning volume hotkey (alt+scrolling) as global hotkey

This commit is contained in:
yugecin
2017-02-03 16:43:47 +01:00
parent 11acbaaf3a
commit 1faee53830
7 changed files with 13 additions and 18 deletions

View File

@@ -121,9 +121,6 @@ public class GameRanking extends BaseOpsuState {
@Override
public boolean mouseWheelMoved(int newValue) {
if (displayContainer.input.isKeyDown(Input.KEY_LALT) || displayContainer.input.isKeyDown(Input.KEY_RALT)) {
UI.changeVolume((newValue < 0) ? -1 : 1);
}
return true;
}