mirror of
https://github.com/processing/processing4.git
synced 2026-02-26 08:44:39 +01:00
add verification note
This commit is contained in:
@@ -609,17 +609,13 @@ public class PSurfaceFX implements PSurface {
|
||||
}
|
||||
|
||||
// If running on Mac OS, allow ctrl-click as right mouse.
|
||||
// TODO see if this is necessary for JavaFX
|
||||
// (Verified to be needed with Java 8u45 and JavaFX)
|
||||
if (PApplet.platform == PConstants.MACOSX &&
|
||||
fxEvent.isControlDown() &&
|
||||
button == PConstants.LEFT) {
|
||||
button = PConstants.RIGHT;
|
||||
}
|
||||
|
||||
//if (canvas.getBoundsInLocal().contains(me.getX(), me.getY())) {
|
||||
//System.out.println(me.getSceneX() + " " + me.getSceneY());
|
||||
//}
|
||||
|
||||
//long when = nativeEvent.getWhen(); // from AWT
|
||||
long when = System.currentTimeMillis();
|
||||
int x = (int) fxEvent.getX(); // getSceneX()?
|
||||
|
||||
Reference in New Issue
Block a user