Skip to content

Commit fa67290

Browse files
author
RandomEngy
committed
Fix crash on re-opening encoding settings window.
1 parent c99a463 commit fa67290

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

VidCoder/View/EncodingWindow.xaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,18 @@
154154
Visibility="{Binding DeleteButtonVisible, Converter={StaticResource VisibilityConverter}}"
155155
Command="{Binding DeletePresetCommand}">
156156
<StackPanel Orientation="Horizontal">
157-
<StaticResource ResourceKey="RedX" />
157+
<Grid Background="Transparent">
158+
<Rectangle Width="14" Height="3" Fill="{StaticResource RedFill}">
159+
<Rectangle.LayoutTransform>
160+
<RotateTransform Angle="-45" />
161+
</Rectangle.LayoutTransform>
162+
</Rectangle>
163+
<Rectangle Width="14" Height="3" Fill="{StaticResource RedFill}">
164+
<Rectangle.LayoutTransform>
165+
<RotateTransform Angle="45" />
166+
</Rectangle.LayoutTransform>
167+
</Rectangle>
168+
</Grid>
158169
<TextBlock Text="Delete" Margin="4,0,0,0" />
159170
</StackPanel>
160171
</Button>

0 commit comments

Comments
 (0)