fix(ui): unify rounded frame rendering and inner content clip
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user