mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
prevent re-triggering on deactivated
case where without it the toggle hidden is fired and then ondeactivated is also fired but with delay, and hides the window again
This commit is contained in:
parent
df4f94fdee
commit
7b4867d2eb
1 changed files with 1 additions and 1 deletions
|
|
@ -355,7 +355,7 @@ namespace Flow.Launcher
|
|||
|
||||
private async void OnDeactivated(object sender, EventArgs e)
|
||||
{
|
||||
if (_settings.HideWhenDeactive)
|
||||
if (_settings.HideWhenDeactive && _viewModel.MainWindowVisibility != Visibility.Collapsed)
|
||||
{
|
||||
await Task.Delay(50);
|
||||
_viewModel.Hide();
|
||||
|
|
|
|||
Loading…
Reference in a new issue