Skip to content

Commit e30af37

Browse files
committed
Adjust Delay Duration to fix blink
1 parent 3eeac91 commit e30af37

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Flow.Launcher/MainWindow.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,14 +274,14 @@ public void WindowAnimator()
274274
{
275275
From = 0,
276276
To = 1,
277-
Duration = TimeSpan.FromSeconds(0.2),
277+
Duration = TimeSpan.FromSeconds(0.18),
278278
FillBehavior = FillBehavior.Stop
279279
};
280280
var da2 = new DoubleAnimation
281281
{
282282
From = Top + 10,
283283
To = Top,
284-
Duration = TimeSpan.FromSeconds(0.2),
284+
Duration = TimeSpan.FromSeconds(0.18),
285285
FillBehavior = FillBehavior.Stop
286286
};
287287
var da3 = new DoubleAnimation

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -720,15 +720,15 @@ public async void Hide()
720720
MainWindowOpacity = 0;
721721
if (_settings.UseAnimation)
722722
{
723-
await Task.Delay(30);
723+
await Task.Delay(50);
724724
}
725725
LastQuerySelected = true;
726726
break;
727727
case LastQueryMode.Selected:
728728
MainWindowOpacity = 0;
729729
if (_settings.UseAnimation)
730730
{
731-
await Task.Delay(30);
731+
await Task.Delay(50);
732732
}
733733
LastQuerySelected = false;
734734
break;

0 commit comments

Comments
 (0)