Browse Source

Make force-moving default module drag behavior.

tags/v2.1.0
Andrew Belt 2 years ago
parent
commit
bee494a3d7
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      src/app/ModuleWidget.cpp

+ 1
- 4
src/app/ModuleWidget.cpp View File

@@ -451,10 +451,7 @@ void ModuleWidget::onDragMove(const DragMoveEvent& e) {
APP->scene->rack->setSelectionPosNearest(delta); APP->scene->rack->setSelectionPosNearest(delta);
} }
else { 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);
} }
} }
} }


Loading…
Cancel
Save