mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Removed temporary fix from Sketch and a changed comment in
ChangeDetector
This commit is contained in:
@@ -14,8 +14,7 @@ public class ChangeDetector implements WindowFocusListener {
|
||||
private Editor editor;
|
||||
|
||||
// private boolean enabled = true;
|
||||
//REMOVE on for testing
|
||||
private boolean enabled = true; // broken on OS X
|
||||
private boolean enabled = true; // broken on OS X (possibly fixed? tested and it seems to work)
|
||||
|
||||
private boolean skip = false;
|
||||
|
||||
|
||||
@@ -1210,14 +1210,9 @@ public class Sketch {
|
||||
current = code[which];
|
||||
currentIndex = which;
|
||||
current.visited = System.currentTimeMillis();
|
||||
//REMOVE
|
||||
try {
|
||||
editor.setCode(current);
|
||||
// editor.header.rebuild();
|
||||
//editor.header.rebuild();
|
||||
editor.header.repaint();
|
||||
} catch (NullPointerException e) {
|
||||
//e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user