Skip to content

Commit b55d430

Browse files
committed
Adjust Progress Line
1 parent a299f36 commit b55d430

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Flow.Launcher/MainWindow.xaml.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,8 @@ private async void PositionReset()
362362
private void InitProgressbarAnimation()
363363
{
364364

365-
var da = new DoubleAnimation(ProgressBar.X2, ActualWidth + 100, new Duration(new TimeSpan(0, 0, 0, 0, 1600)));
366-
var da1 = new DoubleAnimation(ProgressBar.X1, ActualWidth + 0, new Duration(new TimeSpan(0, 0, 0, 0, 1600)));
367-
365+
var da = new DoubleAnimation(ProgressBar.X2, ActualWidth + 100, new Duration(new TimeSpan(0, 0, 0, 0, 1200)));
366+
var da1 = new DoubleAnimation(ProgressBar.X1, ActualWidth + 0, new Duration(new TimeSpan(0, 0, 0, 0, 1200)));
368367
Storyboard.SetTargetProperty(da, new PropertyPath("(Line.X2)"));
369368
Storyboard.SetTargetProperty(da1, new PropertyPath("(Line.X1)"));
370369
_progressBarStoryboard.Children.Add(da);

0 commit comments

Comments
 (0)