From 59c33c23a2a8e7509701e58e57211f0698f5471f Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 13 May 2021 16:27:52 +0800 Subject: [PATCH] feature: set WindowStartupLocation="CenterScreen" --- src/Views/Launcher.xaml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Views/Launcher.xaml b/src/Views/Launcher.xaml index de3bb54b..24a524ad 100644 --- a/src/Views/Launcher.xaml +++ b/src/Views/Launcher.xaml @@ -11,6 +11,7 @@ UseLayoutRounding="True" Title="{StaticResource Text.About.Title}" MinWidth="1280" MinHeight="720" + WindowStartupLocation="CenterScreen" Width="{Binding Source={x:Static models:Preference.Instance}, Path=Window.Width, Mode=TwoWay}" Height="{Binding Source={x:Static models:Preference.Instance}, Path=Window.Height, Mode=TwoWay}">