mirror of
https://github.com/processing/processing4.git
synced 2026-02-13 18:35:37 +01:00
Merge branch 'master' of https://github.com/processing/processing
This commit is contained in:
@@ -88,7 +88,7 @@ public class PSurfaceAWT extends PSurfaceNone {
|
||||
*/
|
||||
canvas = new SmoothCanvas();
|
||||
// if (useStrategy) {
|
||||
canvas.setIgnoreRepaint(true);
|
||||
//canvas.setIgnoreRepaint(true);
|
||||
// }
|
||||
|
||||
// Pass tab key to the sketch, rather than moving between components
|
||||
@@ -210,6 +210,12 @@ public class PSurfaceAWT extends PSurfaceNone {
|
||||
// System.out.println("painting");
|
||||
// if (useStrategy) {
|
||||
render();
|
||||
/*
|
||||
if (graphics != null) {
|
||||
System.out.println("drawing to screen " + canvas);
|
||||
screen.drawImage(graphics.image, 0, 0, sketchWidth, sketchHeight, null);
|
||||
}
|
||||
*/
|
||||
|
||||
// } else {
|
||||
//// new Exception("painting").printStackTrace(System.out);
|
||||
@@ -1428,4 +1434,4 @@ public class PSurfaceAWT extends PSurfaceNone {
|
||||
void debug(String format, Object ... args) {
|
||||
System.out.format(format + "%n", args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -367,4 +367,4 @@ public class PSurfaceNone implements PSurface {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user