Fixed selection issues on right click in OSX

This commit is contained in:
Branislav Stojkovic
2018-12-22 14:45:07 +01:00
parent f07fd9c5e6
commit 1c36acf6db
5 changed files with 17 additions and 1 deletions
@@ -616,7 +616,7 @@ public class Presenter implements IPlugInPort {
IDIYComponent<?> topComponent = components.get(0);
// If ctrl is pressed just toggle the component under mouse
// cursor.
if (ctrlDown) {
if (!Utils.isMac() && ctrlDown) {
if (newSelection.contains(topComponent)) {
newSelection.removeAll(findAllGroupedComponents(topComponent));
} else {