fix(ui): render rounded frame as explicit top overlay

This commit is contained in:
Meik
2026-03-05 17:07:49 +01:00
parent 73baa136e8
commit 071fa668f4
3 changed files with 33 additions and 2 deletions

View File

@@ -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>