From bd66e56e7cb514dad646069420123d4e65a2bc99 Mon Sep 17 00:00:00 2001 From: Kevin Zhang Date: Wed, 16 Jun 2021 23:27:34 +0800 Subject: [PATCH] add controllable argument to allow stop --- Flow.Launcher/MainWindow.xaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Flow.Launcher/MainWindow.xaml.cs b/Flow.Launcher/MainWindow.xaml.cs index 51e1574f9..4355cda15 100644 --- a/Flow.Launcher/MainWindow.xaml.cs +++ b/Flow.Launcher/MainWindow.xaml.cs @@ -90,7 +90,7 @@ namespace Flow.Launcher if (_viewModel.ProgressBarVisibility == Visibility.Visible && isProgressBarStoryboardPaused) { - _progressBarStoryboard.Begin(ProgressBar); + _progressBarStoryboard.Begin(ProgressBar, true); isProgressBarStoryboardPaused = false; } } @@ -116,7 +116,7 @@ namespace Flow.Launcher else if (_viewModel.MainWindowVisibility == Visibility.Visible && isProgressBarStoryboardPaused) { - _progressBarStoryboard.Begin(ProgressBar); + _progressBarStoryboard.Begin(ProgressBar, true); isProgressBarStoryboardPaused = false; } }, System.Windows.Threading.DispatcherPriority.Render);