mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 21:59:20 +01:00
fixing issues with threading, stop button, and defaults not being called
This commit is contained in:
@@ -1015,6 +1015,7 @@ public class PGraphics2 extends PGraphics {
|
||||
* even if noDepth() was called before draw() exited.
|
||||
*/
|
||||
public void clear() {
|
||||
//System.out.println("clearing " + PApplet.hex(backgroundColor));
|
||||
g2.setColor(new Color(backgroundColor));
|
||||
g2.fillRect(0, 0, width, height);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user