Render main window border as continuous rounded outline

This commit is contained in:
Meik
2026-03-05 15:25:09 +01:00
parent 13fa26525a
commit a7fc42b876
2 changed files with 12 additions and 3 deletions

View File

@@ -354,9 +354,9 @@
<Grid x:Name="MainGrid"
Background="{DynamicResource backgroundColor}">
<Border CornerRadius="18"
BorderThickness="1"
BorderBrush="{DynamicResource panelBorderColor}"
<Border x:Name="MainWindowSurface"
CornerRadius="18"
BorderThickness="0"
Background="{DynamicResource backgroundColor}"
ClipToBounds="True">
<Grid>
@@ -996,6 +996,14 @@
Margin="80,0,0,140" />
</Grid>
</Border>
<Border x:Name="MainWindowOutline"
CornerRadius="18"
BorderThickness="1"
BorderBrush="{DynamicResource panelBorderColor}"
Background="Transparent"
IsHitTestVisible="False"
SnapsToDevicePixels="True"
Panel.ZIndex="3000" />
</Grid>
</Window>