diff --git a/Ra3.BattleNet.Downloader/MainWindow.xaml b/Ra3.BattleNet.Downloader/MainWindow.xaml index 0f3c611..aa39984 100644 --- a/Ra3.BattleNet.Downloader/MainWindow.xaml +++ b/Ra3.BattleNet.Downloader/MainWindow.xaml @@ -17,6 +17,9 @@ + + + diff --git a/Ra3.BattleNet.Downloader/ViewModel.cs b/Ra3.BattleNet.Downloader/ViewModel.cs index 819ad97..86fea50 100644 --- a/Ra3.BattleNet.Downloader/ViewModel.cs +++ b/Ra3.BattleNet.Downloader/ViewModel.cs @@ -75,6 +75,7 @@ public void SetDownloadedSize(long downloadedSize, long totalSize) public string Progress => string.Format(Get(nameof(Progress)), _progress); public double ProgressBarValue => _progress * 100; + public double ProgressTaskbarValue => _progress; private double _progress; public void SetProgress(double progress) @@ -82,6 +83,7 @@ public void SetProgress(double progress) _progress = progress; OnSet(nameof(Progress)); OnSet(nameof(ProgressBarValue)); + OnSet(nameof(ProgressTaskbarValue)); } public string DownloadSpeed => string.Format(Get(nameof(DownloadSpeed)), FormatBytes(_bytePerSecond));