From fa687bbfe6373b8c4bab7f0f15af7b7ec70a0d46 Mon Sep 17 00:00:00 2001 From: Sean Ditny <138174805+seangoodvibes@users.noreply.github.com> Date: Fri, 22 Mar 2024 16:12:41 -0400 Subject: [PATCH] Fixed unresponsive sound menu (#1549) 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 --- src/deluge/gui/views/automation_view.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deluge/gui/views/automation_view.cpp b/src/deluge/gui/views/automation_view.cpp index be844f5310..0861cabe96 100644 --- a/src/deluge/gui/views/automation_view.cpp +++ b/src/deluge/gui/views/automation_view.cpp @@ -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); }