Render main window border as continuous rounded outline
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user