mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 17:52:07 +10:00
Ctrl + right click on component type in toolbox appends components of that type to selection
This commit is contained in:
+4
@@ -79,6 +79,10 @@ class ComponentButtonFactory {
|
||||
newSelection.add(component);
|
||||
}
|
||||
}
|
||||
// Ctrl appends selection
|
||||
if (e.isControlDown()) {
|
||||
newSelection.addAll(plugInPort.getSelectedComponents());
|
||||
}
|
||||
plugInPort.updateSelection(newSelection);
|
||||
plugInPort.setNewComponentTypeSlot(null, null);
|
||||
plugInPort.refresh();
|
||||
|
||||
Reference in New Issue
Block a user