mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
deal with a handful of warnings
This commit is contained in:
@@ -2,7 +2,6 @@ package processing.app.contrib;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Component;
|
||||
import java.awt.EventQueue;
|
||||
import java.awt.Font;
|
||||
import java.util.Arrays;
|
||||
import java.util.Comparator;
|
||||
|
||||
@@ -41,7 +41,6 @@ import javafx.scene.image.PixelWriter;
|
||||
import javafx.scene.image.WritableImage;
|
||||
import javafx.scene.image.WritablePixelFormat;
|
||||
import javafx.scene.paint.Color;
|
||||
import javafx.scene.paint.Paint;
|
||||
import javafx.scene.shape.ArcType;
|
||||
import javafx.scene.shape.StrokeLineCap;
|
||||
import javafx.scene.shape.StrokeLineJoin;
|
||||
|
||||
@@ -874,6 +874,9 @@ public class PSurfaceFX implements PSurface {
|
||||
case MIDDLE:
|
||||
button = PConstants.CENTER;
|
||||
break;
|
||||
case NONE:
|
||||
// not currently handled
|
||||
break;
|
||||
}
|
||||
|
||||
// If running on Mac OS, allow ctrl-click as right mouse.
|
||||
|
||||
@@ -207,6 +207,7 @@ public class JavaMode extends Mode {
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
// TODO Why is this necessary? Why isn't Sketch.isModified() used?
|
||||
static private boolean isSketchModified(Sketch sketch) {
|
||||
for (SketchCode sc : sketch.getCode()) {
|
||||
@@ -216,6 +217,7 @@ public class JavaMode extends Mode {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
// public void handleStop() {
|
||||
|
||||
Reference in New Issue
Block a user