mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Adjust Delay Duration to fix blink
This commit is contained in:
parent
3eeac915c3
commit
e30af374c9
2 changed files with 4 additions and 4 deletions
|
|
@ -274,14 +274,14 @@ namespace Flow.Launcher
|
|||
{
|
||||
From = 0,
|
||||
To = 1,
|
||||
Duration = TimeSpan.FromSeconds(0.2),
|
||||
Duration = TimeSpan.FromSeconds(0.18),
|
||||
FillBehavior = FillBehavior.Stop
|
||||
};
|
||||
var da2 = new DoubleAnimation
|
||||
{
|
||||
From = Top + 10,
|
||||
To = Top,
|
||||
Duration = TimeSpan.FromSeconds(0.2),
|
||||
Duration = TimeSpan.FromSeconds(0.18),
|
||||
FillBehavior = FillBehavior.Stop
|
||||
};
|
||||
var da3 = new DoubleAnimation
|
||||
|
|
|
|||
|
|
@ -720,7 +720,7 @@ namespace Flow.Launcher.ViewModel
|
|||
MainWindowOpacity = 0;
|
||||
if (_settings.UseAnimation)
|
||||
{
|
||||
await Task.Delay(30);
|
||||
await Task.Delay(50);
|
||||
}
|
||||
LastQuerySelected = true;
|
||||
break;
|
||||
|
|
@ -728,7 +728,7 @@ namespace Flow.Launcher.ViewModel
|
|||
MainWindowOpacity = 0;
|
||||
if (_settings.UseAnimation)
|
||||
{
|
||||
await Task.Delay(30);
|
||||
await Task.Delay(50);
|
||||
}
|
||||
LastQuerySelected = false;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue