Skip to content

Commit f7f8b82

Browse files
authored
Merge pull request #592 from hx2A/use-new-think-different-method
use new think different method
2 parents ad2e009 + 1df0c4d commit f7f8b82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py5_jar/src/main/java/py5/core/Sketch.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public void setup() {
196196
canvas.setFocusable(true);
197197
canvas.requestFocus();
198198
} else if (platform == MACOS && (sketchRenderer().equals(JAVA2D) || g.isGL())) {
199-
ThinkDifferent.activateIgnoringOtherApps();
199+
ThinkDifferent.activateSketchWindow();
200200
}
201201

202202
if (py5IconPath != null && !(g instanceof PGraphicsOpenGL)) {

0 commit comments

Comments
 (0)