Skip to content

Commit e862b38

Browse files
committed
Cleanup PendingLineStyle
1 parent 5d2778a commit e862b38

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Flow.Launcher/MainWindow.xaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,6 @@
331331
HorizontalAlignment="Center"
332332
VerticalAlignment="Bottom"
333333
StrokeThickness="2"
334-
Style="{DynamicResource PendingLineStyle}"
335334
Visibility="{Binding ProgressBarVisibility, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
336335
X1="-100"
337336
X2="0"

Flow.Launcher/MainWindow.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
using System.Windows.Media;
2828
using System.Windows.Interop;
2929
using Windows.Win32;
30+
using System.Windows.Shapes;
3031

3132
namespace Flow.Launcher
3233
{
@@ -460,8 +461,7 @@ private void InitProgressbarAnimation()
460461
trigger.EnterActions.Add(beginStoryboard);
461462
trigger.ExitActions.Add(stopStoryboard);
462463

463-
464-
var progressStyle = new Style(typeof(System.Windows.Shapes.Line))
464+
var progressStyle = new Style(typeof(Line))
465465
{
466466
BasedOn = FindResource("PendingLineStyle") as Style
467467
};

0 commit comments

Comments
 (0)