Skip to content

Commit 9ba75b0

Browse files
committed
fix traffic light position again
1 parent fcc63b7 commit 9ba75b0

File tree

1 file changed

+5
-1
lines changed
  • plugins/windows/src/window

1 file changed

+5
-1
lines changed

plugins/windows/src/window/v1.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,11 @@ impl AppWindow {
6363
_ => 0,
6464
};
6565

66-
if major >= 26 { 24.0 } else { 18.0 }
66+
if major >= 26 && cfg!(debug_assertions) {
67+
24.0
68+
} else {
69+
18.0
70+
}
6771
};
6872

6973
builder = builder

0 commit comments

Comments
 (0)