public static void UpdateScreenCorrection() { if (ScreenSize.IsEqual(SettingsHolder.LastScreenSize)) { return; } var wFac = SettingsHolder.LastScreenSize.Width / ScreenSize.Width; var hFac = SettingsHolder.LastScreenSize.Height / ScreenSize.Height; ScreenCorrection = new Size(wFac, hFac); SettingsHolder.LastScreenSize = ScreenSize; if (!App.Loading) { SettingsWriter.Save(); } }