mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
move location of prefs and sketchbook, fixed nasty bugs
This commit is contained in:
@@ -262,7 +262,11 @@ public class PdePreprocessor {
|
||||
|
||||
if (programType == STATIC) {
|
||||
// now that size() and background() can go inside of draw()
|
||||
out.print("public void draw() {");
|
||||
// actually, use setup(), because when running externally
|
||||
// the applet size needs to be set before the window is drawn,
|
||||
// meaning that after setup() things need to be ducky.
|
||||
//out.print("public void draw() {");
|
||||
out.print("public void setup() {");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user