Browse Source

When lockModules setting is enabled, also lock selected modules.

tags/v2.1.2
Andrew Belt 2 years ago
parent
commit
ecf1be8b4c
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      src/app/ModuleWidget.cpp

+ 5
- 0
src/app/ModuleWidget.cpp View File

@@ -389,6 +389,11 @@ void ModuleWidget::onButton(const ButtonEvent& e) {
return;
}

// If module positions are locked, don't consume left-click
if (settings::lockModules) {
return;
}

internal->dragOffset = e.pos;
}



Loading…
Cancel
Save