mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix Logic
This commit is contained in:
parent
3ae438aba2
commit
15255ddf14
2 changed files with 3 additions and 1 deletions
|
|
@ -88,6 +88,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings
|
|||
|
||||
public double SettingWindowWidth { get; set; } = 1000;
|
||||
public double SettingWindowHeight { get; set; } = 700;
|
||||
public bool SettingWindowFirstLaunch { get; set; } = true;
|
||||
public double SettingWindowTop { get; set; }
|
||||
public double SettingWindowLeft { get; set; }
|
||||
public System.Windows.WindowState SettingWindowState { get; set; } = WindowState.Normal;
|
||||
|
|
|
|||
|
|
@ -110,10 +110,11 @@ public partial class SettingWindow
|
|||
|
||||
public void InitializePosition()
|
||||
{
|
||||
if (_settings.SettingWindowTop == null)
|
||||
if (_settings.SettingWindowFirstLaunch || _settings.SettingWindowFirstLaunch == null)
|
||||
{
|
||||
Top = WindowTop();
|
||||
Left = WindowLeft();
|
||||
_settings.SettingWindowFirstLaunch = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue