Skip to content

Commit 75c46d6

Browse files
committed
Remove Preview BorderClip
1 parent b1ddc2c commit 75c46d6

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

Flow.Launcher/SettingPages/Views/SettingsPaneTheme.xaml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,11 @@
262262
</ScrollViewer>
263263
</Border>
264264
<!-- Theme Preview -->
265-
<Border Grid.Column="0" Background="{Binding PreviewBackground}">
265+
<Border
266+
Grid.Column="0"
267+
Background="{Binding PreviewBackground}"
268+
SnapsToDevicePixels="True"
269+
UseLayoutRounding="True">
266270
<Border.Style>
267271
<Style TargetType="{x:Type Border}">
268272
<Setter Property="CornerRadius" Value="6 0 0 6" />
@@ -300,16 +304,8 @@
300304
Width="400"
301305
Margin="40 30 0 30"
302306
SnapsToDevicePixels="True"
303-
Style="{DynamicResource WindowBorderStyle}"
304-
UseLayoutRounding="True">
305-
<Border Style="{DynamicResource WindowRadius}">
306-
<Border.Clip>
307-
<MultiBinding Converter="{StaticResource BorderClipConverter}">
308-
<Binding Path="ActualWidth" RelativeSource="{RelativeSource Self}" />
309-
<Binding Path="ActualHeight" RelativeSource="{RelativeSource Self}" />
310-
<Binding Path="CornerRadius" RelativeSource="{RelativeSource Self}" />
311-
</MultiBinding>
312-
</Border.Clip>
307+
Style="{DynamicResource WindowBorderStyle}">
308+
<Border BorderThickness="0" Style="{DynamicResource WindowRadius}">
313309
<Grid>
314310
<Grid.RowDefinitions>
315311
<RowDefinition Height="Auto" />

0 commit comments

Comments
 (0)