Skip to content

Commit 1b1a81d

Browse files
committed
- Rollback progressbar
2 parents e14bb23 + d902a1e commit 1b1a81d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Flow.Launcher/MainWindow.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,9 @@ private void InitializeNotifyIcon()
207207

208208
private void InitProgressbarAnimation()
209209
{
210-
var da = new DoubleAnimation(ProgressBar.X2, ActualWidth + 100 + 100,
210+
var da = new DoubleAnimation(ProgressBar.X2, ActualWidth + 100,
211211
new Duration(new TimeSpan(0, 0, 0, 0, 1600)));
212-
var da1 = new DoubleAnimation(ProgressBar.X1, ActualWidth + 100, new Duration(new TimeSpan(0, 0, 0, 0, 1600)));
212+
var da1 = new DoubleAnimation(ProgressBar.X1, ActualWidth, new Duration(new TimeSpan(0, 0, 0, 0, 1600)));
213213
Storyboard.SetTargetProperty(da, new PropertyPath("(Line.X2)"));
214214
Storyboard.SetTargetProperty(da1, new PropertyPath("(Line.X1)"));
215215
_progressBarStoryboard.Children.Add(da);

0 commit comments

Comments
 (0)