Merge pull request #5766 from mcslee/master

Fix bug with control-click for RIGHT on Mac OS, addresses #5765
This commit is contained in:
Ben Fry
2019-01-22 18:38:57 -05:00
committed by GitHub
+1 -1
View File
@@ -2697,7 +2697,7 @@ public class PApplet implements PConstants {
event.getX(), event.getY(),
button, event.getCount());
}
if (button == MouseEvent.RELEASE) {
if (action == MouseEvent.RELEASE) {
macosxLeftButtonWithCtrlPressed = false;
}
}