mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
fix right-click for OS X
This commit is contained in:
@@ -2656,7 +2656,7 @@ public class PApplet extends Applet
|
||||
// for mouseClicked and mouseReleased (or others).
|
||||
if (platform == MACOSX) {
|
||||
//if (nativeEvent.isPopupTrigger()) {
|
||||
if ((modifiers & InputEvent.CTRL_DOWN_MASK) != 0) {
|
||||
if ((modifiers & InputEvent.CTRL_MASK) != 0) {
|
||||
peButton = RIGHT;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user