mirror of
https://github.com/processing/processing4.git
synced 2026-01-30 03:41:15 +01:00
Let Mac users have some fun too
- enables BUTTON2 click as an alternative for (ctrl/meta)+click on OSX
This commit is contained in:
@@ -84,7 +84,7 @@ public class JavaTextAreaPainter extends TextAreaPainter
|
||||
if ((evt.isControlDown() && !Platform.isMacOS()) || evt.isMetaDown()) {
|
||||
handleCtrlClick(evt);
|
||||
}
|
||||
} else if (!Platform.isMacOS() && evt.getButton() == MouseEvent.BUTTON2) {
|
||||
} else if (evt.getButton() == MouseEvent.BUTTON2) {
|
||||
handleCtrlClick(evt);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user