mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
- Change trigger animation Timing
- Change HideOnStartup using Animator
This commit is contained in:
parent
f1222f948f
commit
6d8ee64117
2 changed files with 10 additions and 2 deletions
|
|
@ -101,7 +101,15 @@ namespace Flow.Launcher
|
|||
|
||||
API.SaveAppAllSettings();
|
||||
|
||||
_mainVM.MainWindowVisibility = _settings.HideOnStartup ? Visibility.Hidden : Visibility.Visible;
|
||||
if (_settings.HideOnStartup)
|
||||
{
|
||||
_mainVM.Hide();
|
||||
}
|
||||
else
|
||||
{
|
||||
window.WindowAnimator();
|
||||
}
|
||||
|
||||
Log.Info("|App.OnStartup|End Flow Launcher startup ---------------------------------------------------- ");
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -713,8 +713,8 @@ namespace Flow.Launcher.ViewModel
|
|||
if (WinToggleStatus != true)
|
||||
{
|
||||
MainWindowVisibility = Visibility.Visible;
|
||||
((MainWindow)Application.Current.MainWindow).WindowAnimator();
|
||||
WinToggleStatus = true;
|
||||
((MainWindow)Application.Current.MainWindow).WindowAnimator();
|
||||
MainWindowOpacity = 1;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue