Skip to content

Commit bd66e56

Browse files
committed
add controllable argument to allow stop
1 parent 4684a38 commit bd66e56

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
@@ -90,7 +90,7 @@ private void OnLoaded(object sender, RoutedEventArgs _)
9090

9191
if (_viewModel.ProgressBarVisibility == Visibility.Visible && isProgressBarStoryboardPaused)
9292
{
93-
_progressBarStoryboard.Begin(ProgressBar);
93+
_progressBarStoryboard.Begin(ProgressBar, true);
9494
isProgressBarStoryboardPaused = false;
9595
}
9696
}
@@ -116,7 +116,7 @@ private void OnLoaded(object sender, RoutedEventArgs _)
116116
else if (_viewModel.MainWindowVisibility == Visibility.Visible &&
117117
isProgressBarStoryboardPaused)
118118
{
119-
_progressBarStoryboard.Begin(ProgressBar);
119+
_progressBarStoryboard.Begin(ProgressBar, true);
120120
isProgressBarStoryboardPaused = false;
121121
}
122122
}, System.Windows.Threading.DispatcherPriority.Render);

0 commit comments

Comments
 (0)