Skip to content

Commit 8f0a003

Browse files
committed
Return home from my bug-hunting odyssey.
1 parent ec4e591 commit 8f0a003

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

runtime/src/jycessing/mode/export/MacExport.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,15 @@ private void setUpExecutable(final File binFolder, final File processingFolder,
219219
options.add("-cp");
220220
options.add("\"" + classpath.toString().substring(0, classpath.toString().length() - 1) + "\"");
221221

222-
options.add("-splash:\"$APPDIR/lib/jycessing/splash.png\"");
222+
if (!presentMode) {
223+
// Wait, this seems totally arbitrary.
224+
// Why only have a splash screen if we're not in present mode?
225+
options.add("-splash:\"$APPDIR/lib/jycessing/splash.png\"");
226+
// Because removing the splash screen (see Runner.runSketchBlocking) _and_ being
227+
// in OS X full-screen mode causes the sketch to sorta-freeze. (It still runs,
228+
// it just doesn't update on screen / respond to keypresses.)
229+
// Why? I have no idea. But seriously, don't change this, I just spent 8 hours debugging it.
230+
}
223231

224232
options.add("-Xdock:icon=\"$CONTENTS/Resources/sketch.icns\"");
225233
options.add("-Xdock:name=\"" + sketchName + "\"");

0 commit comments

Comments
 (0)