From bee494a3d7b34250db9ee7ec7b535cb4ac4fac5d Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Sun, 30 Jan 2022 08:09:01 -0500 Subject: [PATCH] Make force-moving default module drag behavior. --- src/app/ModuleWidget.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/app/ModuleWidget.cpp b/src/app/ModuleWidget.cpp index 4c9735f4..6cec72d6 100644 --- a/src/app/ModuleWidget.cpp +++ b/src/app/ModuleWidget.cpp @@ -451,10 +451,7 @@ void ModuleWidget::onDragMove(const DragMoveEvent& e) { APP->scene->rack->setSelectionPosNearest(delta); } else { - if ((APP->window->getMods() & RACK_MOD_MASK) == RACK_MOD_CTRL) - APP->scene->rack->setModulePosForce(this, pos); - else - APP->scene->rack->setModulePosNearest(this, pos); + APP->scene->rack->setModulePosForce(this, pos); } } }