Skip to content

Commit

Permalink
Fixed unresponsive sound menu (#1549)
Browse files Browse the repository at this point in the history
Fixed bug where sound menu would be unresponsive if you try to enter the menu while holding the horizontal encoder

Fixed it by blocking menu entry when currentUIMode is not none
  • Loading branch information
seangoodvibes authored and m-m-adams committed Mar 23, 2024
1 parent 3787dd3 commit d123cfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deluge/gui/views/automation_view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1467,7 +1467,7 @@ ActionResult AutomationView::buttonAction(hid::Button b, bool on, bool inCardRou

// Select encoder
// if you're not pressing shift and press down on the select encoder, toggle interpolation on/off
else if (!Buttons::isShiftButtonPressed() && b == SELECT_ENC) {
else if (!Buttons::isShiftButtonPressed() && b == SELECT_ENC && currentUIMode == UI_MODE_NONE) {
handleSelectEncoderButtonAction(on);
}

Expand Down

0 comments on commit d123cfc

Please sign in to comment.