Skip to content

Commit

Permalink
Merge pull request #157 from niente1899/Add-MusicSelect-ShowDetailOpt…
Browse files Browse the repository at this point in the history
…ion-key(START+SELECT)

Add MusicSelect ShowDetailOption key(START+SELECT)
  • Loading branch information
exch-bms2 authored Jan 27, 2018
2 parents a22a59d + e35087b commit 8a26beb
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 8a26beb

Please sign in to comment.