diff --git a/Flow.Launcher/MainWindow.xaml b/Flow.Launcher/MainWindow.xaml
index 29fe25670..9f8d523e0 100644
--- a/Flow.Launcher/MainWindow.xaml
+++ b/Flow.Launcher/MainWindow.xaml
@@ -261,16 +261,6 @@
-
+
@@ -320,6 +324,7 @@
HorizontalAlignment="Stretch"
Style="{DynamicResource SeparatorStyle}" />
+
diff --git a/Flow.Launcher/MainWindow.xaml.cs b/Flow.Launcher/MainWindow.xaml.cs
index 8f592a89a..e816654f4 100644
--- a/Flow.Launcher/MainWindow.xaml.cs
+++ b/Flow.Launcher/MainWindow.xaml.cs
@@ -362,15 +362,14 @@ namespace Flow.Launcher
private void InitProgressbarAnimation()
{
- //var da = new DoubleAnimation(ProgressBar.X2, ActualWidth + 150,
- // new Duration(new TimeSpan(0, 0, 0, 0, 1600)));
- //var da1 = new DoubleAnimation(ProgressBar.X1, ActualWidth + 50, new Duration(new TimeSpan(0, 0, 0, 0, 1600)));
- //Storyboard.SetTargetProperty(da, new PropertyPath("(Line.X2)"));
- //Storyboard.SetTargetProperty(da1, new PropertyPath("(Line.X1)"));
- //_progressBarStoryboard.Children.Add(da);
- //_progressBarStoryboard.Children.Add(da1);
- _progressBarStoryboard.RepeatBehavior = RepeatBehavior.Forever;
+ var da = new DoubleAnimation(ProgressBar.X2, ActualWidth + 100, new Duration(new TimeSpan(0, 0, 0, 0, 1600)));
+ var da1 = new DoubleAnimation(ProgressBar.X1, ActualWidth + 0, new Duration(new TimeSpan(0, 0, 0, 0, 1600)));
+ Storyboard.SetTargetProperty(da, new PropertyPath("(Line.X2)"));
+ Storyboard.SetTargetProperty(da1, new PropertyPath("(Line.X1)"));
+ _progressBarStoryboard.Children.Add(da);
+ _progressBarStoryboard.Children.Add(da1);
+ _progressBarStoryboard.RepeatBehavior = RepeatBehavior.Forever;
_viewModel.ProgressBarVisibility = Visibility.Hidden;
isProgressBarStoryboardPaused = true;
}