Cleanup PendingLineStyle

This commit is contained in:
Jack251970 2025-03-14 19:40:03 +08:00
parent 5d2778a7ab
commit e862b3861d
2 changed files with 2 additions and 3 deletions

View file

@ -331,7 +331,6 @@
HorizontalAlignment="Center"
VerticalAlignment="Bottom"
StrokeThickness="2"
Style="{DynamicResource PendingLineStyle}"
Visibility="{Binding ProgressBarVisibility, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
X1="-100"
X2="0"

View file

@ -27,6 +27,7 @@ using DataObject = System.Windows.DataObject;
using System.Windows.Media;
using System.Windows.Interop;
using Windows.Win32;
using System.Windows.Shapes;
namespace Flow.Launcher
{
@ -460,8 +461,7 @@ namespace Flow.Launcher
trigger.EnterActions.Add(beginStoryboard);
trigger.ExitActions.Add(stopStoryboard);
var progressStyle = new Style(typeof(System.Windows.Shapes.Line))
var progressStyle = new Style(typeof(Line))
{
BasedOn = FindResource("PendingLineStyle") as Style
};