fix(ui): unify rounded frame rendering and inner content clip

This commit is contained in:
Meik
2026-03-05 15:55:26 +01:00
parent f51c30cd81
commit 0950f4bbae
3 changed files with 15 additions and 31 deletions

View File

@@ -355,13 +355,13 @@
<Grid x:Name="MainGrid"
Background="Transparent">
<Border x:Name="MainWindowSurface"
CornerRadius="19"
Margin="1"
BorderThickness="0"
CornerRadius="20"
BorderThickness="1"
BorderBrush="{DynamicResource panelBorderColor}"
Background="{DynamicResource backgroundColor}"
SnapsToDevicePixels="True"
ClipToBounds="True">
<Grid>
<Grid x:Name="MainWindowContentRoot">
<DockPanel Width="{Binding ActualWidth, ElementName=Window, Mode=OneWay}"
x:Name="MainDock"
Background="{DynamicResource headerColor}">
@@ -998,14 +998,6 @@
Margin="80,0,0,140" />
</Grid>
</Border>
<Border x:Name="MainWindowOutline"
CornerRadius="20"
BorderThickness="1"
BorderBrush="{DynamicResource panelBorderColor}"
Background="Transparent"
IsHitTestVisible="False"
SnapsToDevicePixels="True"
Panel.ZIndex="3000" />
</Grid>
</Window>