Skip to content

Commit

Permalink
disable alt+enter in screengameplay (etternagame#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
FiskSM authored and MinaciousGrace committed Feb 7, 2019
1 parent bae682a commit 810b76d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/StepMania.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1502,7 +1502,8 @@ HandleGlobalInputs(const InputEventPlus& input)
(INPUTFILTER->IsBeingPressed(DeviceInput(DEVICE_KEYBOARD, KEY_RALT),
&input.InputList) ||
INPUTFILTER->IsBeingPressed(DeviceInput(DEVICE_KEYBOARD, KEY_LALT),
&input.InputList))) {
&input.InputList)) &&
!(SCREENMAN->GetTopScreen()->GetScreenType() == gameplay)) {
// alt-enter
/* In OS X, this is a menu item and will be handled as such. This will
* happen first and then the lower priority GUI thread will happen
Expand Down

0 comments on commit 810b76d

Please sign in to comment.