mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-20 11:44:59 +00:00
fix: right caption buttons should not visible on macOS (#1311)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
7bb4e355bd
commit
0e61a0196b
1 changed files with 7 additions and 1 deletions
|
@ -31,7 +31,13 @@ namespace SourceGit.Views
|
||||||
|
|
||||||
public bool HasRightCaptionButton
|
public bool HasRightCaptionButton
|
||||||
{
|
{
|
||||||
get => OperatingSystem.IsWindows() || !Native.OS.UseSystemWindowFrame;
|
get
|
||||||
|
{
|
||||||
|
if (OperatingSystem.IsLinux())
|
||||||
|
return !Native.OS.UseSystemWindowFrame;
|
||||||
|
|
||||||
|
return OperatingSystem.IsWindows();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public Launcher()
|
public Launcher()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue