File tree Expand file tree Collapse file tree 4 files changed +5
-2
lines changed
app/src/processing/app/contrib
core/src/processing/javafx
java/src/processing/mode/java Expand file tree Collapse file tree 4 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 22
33import java .awt .Color ;
44import java .awt .Component ;
5- import java .awt .EventQueue ;
65import java .awt .Font ;
76import java .util .Arrays ;
87import java .util .Comparator ;
Original file line number Diff line number Diff line change 4141import javafx .scene .image .WritableImage ;
4242import javafx .scene .image .WritablePixelFormat ;
4343import javafx .scene .paint .Color ;
44- import javafx .scene .paint .Paint ;
4544import javafx .scene .shape .ArcType ;
4645import javafx .scene .shape .StrokeLineCap ;
4746import javafx .scene .shape .StrokeLineJoin ;
Original file line number Diff line number Diff line change @@ -874,6 +874,9 @@ protected void fxMouseEvent(MouseEvent fxEvent) {
874874 case MIDDLE :
875875 button = PConstants .CENTER ;
876876 break ;
877+ case NONE :
878+ // not currently handled
879+ break ;
877880 }
878881
879882 // If running on Mac OS, allow ctrl-click as right mouse.
Original file line number Diff line number Diff line change @@ -207,6 +207,7 @@ public void run() {
207207 }
208208
209209
210+ /*
210211 // TODO Why is this necessary? Why isn't Sketch.isModified() used?
211212 static private boolean isSketchModified(Sketch sketch) {
212213 for (SketchCode sc : sketch.getCode()) {
@@ -216,6 +217,7 @@ static private boolean isSketchModified(Sketch sketch) {
216217 }
217218 return false;
218219 }
220+ */
219221
220222
221223// public void handleStop() {
You can’t perform that action at this time.
0 commit comments