Adjust Delay Duration to fix blink

This commit is contained in:
DB p 2021-11-22 14:18:14 +09:00
parent 3eeac915c3
commit e30af374c9
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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;