Skip to content

Commit 4a97631

Browse files
authored
Update Main.hx
1 parent e8692ea commit 4a97631

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/Main.hx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,9 @@ class Main extends Sprite
292292
// "NativeTrace works with double quotes too!".NativeTrace(true);
293293
// testArray.NativeTrace(true, false);
294294

295-
backend.window.CppAPI.setWindowOpacity(1);
295+
#if windows
296+
backend.window.CppAPI.setWindowOpacity(1);
297+
#end
296298

297299

298300

0 commit comments

Comments
 (0)