diff --git a/core/src/processing/javafx/PSurfaceFX.java b/core/src/processing/javafx/PSurfaceFX.java index dc741be3e..0a857a5cc 100644 --- a/core/src/processing/javafx/PSurfaceFX.java +++ b/core/src/processing/javafx/PSurfaceFX.java @@ -229,12 +229,24 @@ public class PSurfaceFX implements PSurface { int width = sketch.sketchWidth(); int height = sketch.sketchHeight(); int smooth = sketch.sketchSmooth(); + + /* SceneAntialiasing sceneAntialiasing = (smooth == 0) ? SceneAntialiasing.DISABLED : SceneAntialiasing.BALANCED; //stage.setScene(new Scene(new Group(canvas))); stage.setScene(new Scene(stackPane, width, height, false, sceneAntialiasing)); + */ + // Workaround for JavaFX bug + // https://bugs.openjdk.java.net/browse/JDK-8136495 + // https://github.com/processing/processing/issues/3795 + if (smooth == 0) { + stage.setScene(new Scene(stackPane, width, height, false, SceneAntialiasing.DISABLED)); + } else { + stage.setScene(new Scene(stackPane, width, height, false)); + } + //stage.show(); // move to setVisible(true)? // initFrame in different thread is waiting for diff --git a/core/todo.txt b/core/todo.txt index fbd17ef3e..bfb68c36b 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -1,4 +1,6 @@ 0245 core (3.0b7) +X FX2D display is inverted in 3.0b6 +X https://github.com/processing/processing/issues/3795 andres diff --git a/todo.txt b/todo.txt index ff3de6ffa..41157f4b5 100644 --- a/todo.txt +++ b/todo.txt @@ -13,6 +13,8 @@ X CM: Clicking item in Libraries list throws exception X https://github.com/processing/processing/issues/3667 X CM: Libraries missing descriptions and PFoundation credit X https://github.com/processing/processing/issues/3688 +X use real version of bold font, rather than the fake version +X remove the "v" from the version numbers in the updates tab watcher X prevent re-prompting users when they say "no" to "sketch modified" message