mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-25 21:07:20 -08:00
enhance: do NOT restore fullscreen window on macOS
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
98612b0024
commit
7c5de7e48c
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ namespace SourceGit.Views
|
||||||
|
|
||||||
var state = ViewModels.Preference.Instance.Layout.LauncherWindowState;
|
var state = ViewModels.Preference.Instance.Layout.LauncherWindowState;
|
||||||
if (state == WindowState.Maximized || state == WindowState.FullScreen)
|
if (state == WindowState.Maximized || state == WindowState.FullScreen)
|
||||||
WindowState = state;
|
WindowState = WindowState.Maximized;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs change)
|
protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs change)
|
||||||
|
|
Loading…
Reference in a new issue