From 59c7b26c500df3abecaf33ea76dbaf77d939a43c Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Fri, 19 Jun 2015 16:08:40 -0400 Subject: [PATCH] remove the delay loop, may fix #3315, #3316, #3303, #3363 --- core/src/processing/core/PApplet.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java index 3213d844d..656459164 100644 --- a/core/src/processing/core/PApplet.java +++ b/core/src/processing/core/PApplet.java @@ -10072,6 +10072,7 @@ public class PApplet implements PConstants { PSurface surface = sketch.initSurface(); // sketch.initSurface(windowColor, displayIndex, fullScreen, spanDisplays); + /* // Wait until the applet has figured out its width. In a static mode app, // everything happens inside setup(), so this will be after setup() has // completed, and the empty draw() has set "finished" to true. @@ -10084,6 +10085,7 @@ public class PApplet implements PConstants { //System.out.println("interrupt"); } } + */ if (present) { if (hideStop) {