From b42c43393054f9b8d4dec60ba71fad438af63eac Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Mon, 21 Feb 2022 18:17:43 -0500 Subject: [PATCH] Don't consume Button in ModuleWidget when Shift-clicking to select/deselect. --- src/app/ModuleWidget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/ModuleWidget.cpp b/src/app/ModuleWidget.cpp index 495deff0..b7679b36 100644 --- a/src/app/ModuleWidget.cpp +++ b/src/app/ModuleWidget.cpp @@ -380,6 +380,8 @@ void ModuleWidget::onButton(const ButtonEvent& e) { // Toggle selection on Shift-click if ((e.mods & RACK_MOD_MASK) == GLFW_MOD_SHIFT) { APP->scene->rack->select(this, false); + e.consume(NULL); + return; } internal->dragOffset = e.pos; @@ -402,6 +404,7 @@ void ModuleWidget::onButton(const ButtonEvent& e) { // Toggle selection on Shift-click if ((e.mods & RACK_MOD_MASK) == GLFW_MOD_SHIFT) { APP->scene->rack->select(this, true); + e.consume(NULL); return; }