Minor search feature fixes.

- Search textfield now properly retains focus in song selection menu.
- Clearing an invalid search no longer changes the current song.

Other changes:
- Fixed skip image not being resized correctly.
- Added menuclick sounds when selecting a new song.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han
2014-07-08 19:03:43 -04:00
parent e7f74d8dd6
commit 2ed8e66bbf
2 changed files with 19 additions and 3 deletions

View File

@@ -760,6 +760,7 @@ public class Game extends BasicGameState {
if (!GameImage.SKIP.isScaled()) {
float skipScale = (height * 0.1f) / skip.getHeight();
skip = skip.getScaledCopy(skipScale);
GameImage.SKIP.setImage(skip);
GameImage.SKIP.setScaled();
}
skipButton = new GUIMenuButton(skip,