Skip to content

Commit 10accd5

Browse files
committed
- Change value progress bar (using actual window)
- Remove icon metro server
1 parent 88a9767 commit 10accd5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Flow.Launcher/MainWindow.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,9 @@ private void InitializeNotifyIcon()
207207

208208
private void InitProgressbarAnimation()
209209
{
210-
var da = new DoubleAnimation(ProgressBar.X2, 900 + 100,
210+
var da = new DoubleAnimation(ProgressBar.X2, ActualWidth + 100 + 100,
211211
new Duration(new TimeSpan(0, 0, 0, 0, 1600)));
212-
var da1 = new DoubleAnimation(ProgressBar.X1, 900, new Duration(new TimeSpan(0, 0, 0, 0, 1600)));
212+
var da1 = new DoubleAnimation(ProgressBar.X1, ActualWidth + 100, new Duration(new TimeSpan(0, 0, 0, 0, 1600)));
213213
Storyboard.SetTargetProperty(da, new PropertyPath("(Line.X2)"));
214214
Storyboard.SetTargetProperty(da1, new PropertyPath("(Line.X1)"));
215215
_progressBarStoryboard.Children.Add(da);

Flow.Launcher/Themes/Metro Server.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
<Setter Property="Fill" Value="#1d427d" />
4343
<Setter Property="Width" Value="32" />
4444
<Setter Property="Height" Value="32" />
45+
<Setter Property="Opacity" Value="0" />
4546
</Style>
4647
<Style x:Key="ItemHotkeyStyle" TargetType="{x:Type TextBlock}">
4748
<Setter Property="FontSize" Value="15" />

0 commit comments

Comments
 (0)