From 10accd5d0d6204b118ae14f50e7ef94dc3d965c7 Mon Sep 17 00:00:00 2001 From: Dobin Park Date: Tue, 5 Oct 2021 11:18:15 +0900 Subject: [PATCH] - Change value progress bar (using actual window) - Remove icon metro server --- Flow.Launcher/MainWindow.xaml.cs | 4 ++-- Flow.Launcher/Themes/Metro Server.xaml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Flow.Launcher/MainWindow.xaml.cs b/Flow.Launcher/MainWindow.xaml.cs index 2dc0acd9c..973be252c 100644 --- a/Flow.Launcher/MainWindow.xaml.cs +++ b/Flow.Launcher/MainWindow.xaml.cs @@ -207,9 +207,9 @@ namespace Flow.Launcher private void InitProgressbarAnimation() { - var da = new DoubleAnimation(ProgressBar.X2, 900 + 100, + var da = new DoubleAnimation(ProgressBar.X2, ActualWidth + 100 + 100, new Duration(new TimeSpan(0, 0, 0, 0, 1600))); - var da1 = new DoubleAnimation(ProgressBar.X1, 900, new Duration(new TimeSpan(0, 0, 0, 0, 1600))); + var da1 = new DoubleAnimation(ProgressBar.X1, ActualWidth + 100, new Duration(new TimeSpan(0, 0, 0, 0, 1600))); Storyboard.SetTargetProperty(da, new PropertyPath("(Line.X2)")); Storyboard.SetTargetProperty(da1, new PropertyPath("(Line.X1)")); _progressBarStoryboard.Children.Add(da); diff --git a/Flow.Launcher/Themes/Metro Server.xaml b/Flow.Launcher/Themes/Metro Server.xaml index 9e3bcec17..800b8fc09 100644 --- a/Flow.Launcher/Themes/Metro Server.xaml +++ b/Flow.Launcher/Themes/Metro Server.xaml @@ -42,6 +42,7 @@ +