Skip to content

Commit 7c5de7e

Browse files
committed
enhance: do NOT restore fullscreen window on macOS
Signed-off-by: leo <[email protected]>
1 parent 98612b0 commit 7c5de7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Views/Launcher.axaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ protected override void OnOpened(EventArgs e)
7878

7979
var state = ViewModels.Preference.Instance.Layout.LauncherWindowState;
8080
if (state == WindowState.Maximized || state == WindowState.FullScreen)
81-
WindowState = state;
81+
WindowState = WindowState.Maximized;
8282
}
8383

8484
protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs change)

0 commit comments

Comments
 (0)