Skip to content

Commit 0e61a01

Browse files
committed
fix: right caption buttons should not visible on macOS (#1311)
Signed-off-by: leo <[email protected]>
1 parent 7bb4e35 commit 0e61a01

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/Views/Launcher.axaml.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,13 @@ public bool HasLeftCaptionButton
3131

3232
public bool HasRightCaptionButton
3333
{
34-
get => OperatingSystem.IsWindows() || !Native.OS.UseSystemWindowFrame;
34+
get
35+
{
36+
if (OperatingSystem.IsLinux())
37+
return !Native.OS.UseSystemWindowFrame;
38+
39+
return OperatingSystem.IsWindows();
40+
}
3541
}
3642

3743
public Launcher()

0 commit comments

Comments
 (0)