fix(ui): render rounded frame as explicit top overlay
This commit is contained in:
@@ -357,7 +357,7 @@
|
||||
<Border x:Name="MainWindowSurface"
|
||||
CornerRadius="20"
|
||||
BorderThickness="1"
|
||||
BorderBrush="{DynamicResource panelBorderColor}"
|
||||
BorderBrush="Transparent"
|
||||
Background="{DynamicResource backgroundColor}"
|
||||
SnapsToDevicePixels="True"
|
||||
ClipToBounds="True">
|
||||
@@ -1011,6 +1011,15 @@
|
||||
Fill="{DynamicResource backgroundColor}"
|
||||
IsHitTestVisible="False"
|
||||
SnapsToDevicePixels="True" />
|
||||
<Path x:Name="MainWindowFrameOverlay"
|
||||
Panel.ZIndex="3001"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
Fill="Transparent"
|
||||
Stroke="{DynamicResource panelBorderColor}"
|
||||
StrokeThickness="1"
|
||||
IsHitTestVisible="False"
|
||||
SnapsToDevicePixels="True" />
|
||||
</Grid>
|
||||
</Window>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user