Skip to content

Commit

Permalink
Add MusicSelect ShowDetailOption key(START+SELECT)
Browse files Browse the repository at this point in the history
  • Loading branch information
niente1899 committed Jan 25, 2018
1 parent a0a9716 commit e35087b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public void canceled() {

final MusicSelectKeyProperty property = MusicSelectKeyProperty.values()[config.getMusicselectinput()];

if (input.startPressed()) {
if (input.startPressed() && !input.isSelectPressed()) {
bar.resetInput();
// show play option
select.setPanelState(1);
Expand Down Expand Up @@ -180,7 +180,7 @@ public void canceled() {
select.play(SOUND_SCRATCH);
mov++;
}
} else if (input.isSelectPressed()) {
} else if (input.isSelectPressed() && !input.startPressed()) {
bar.resetInput();
// show assist option
select.setPanelState(2);
Expand All @@ -205,7 +205,7 @@ public void canceled() {
if (property.isPressed(keystate, keytime, NOMINE, true)) {
config.setNomine(!config.isNomine());
}
} else if (input.getNumberState()[5]) {
} else if (input.getNumberState()[5] || (input.startPressed() && input.isSelectPressed())) {
bar.resetInput();
// show detail option
select.setPanelState(3);
Expand Down

0 comments on commit e35087b

Please sign in to comment.