add verification note

This commit is contained in:
Ben Fry
2015-05-17 07:47:25 -04:00
parent ae8e65b5d4
commit 4037d0ec43

View File

@@ -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()?