Skip to content

Commit

Permalink
Fix the fucking shadows
Browse files Browse the repository at this point in the history
  • Loading branch information
NotYoojun committed Jun 27, 2024
1 parent 44fba0e commit 8c97c94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/iNKORE.UI.WPF.Modern/Controls/Helpers/WindowHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ private static void OnAcrylic10ColorChanged(DependencyObject d, DependencyProper
"CornerStyle",
typeof(WindowCornerStyle),
typeof(WindowHelper),
new PropertyMetadata(WindowCornerStyle.Round, OnCornerStyleChanged));
new PropertyMetadata(WindowCornerStyle.Default, OnCornerStyleChanged));

private static void OnCornerStyleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
Expand Down Expand Up @@ -558,11 +558,11 @@ public static WindowChrome UpdateWindowChrome(this Window window)
// Glass frame thickness
// -----------------------------

var glassFrameThickness = new Thickness(0);
var glassFrameThickness = new Thickness(-1);
switch (GetSystemBackdropType(window))
{
case BackdropType.None:
glassFrameThickness = new Thickness(0);
glassFrameThickness = new Thickness(-1);
break;
case BackdropType.Acrylic10:
glassFrameThickness = new Thickness(0, 1, 0, 0);
Expand Down

0 comments on commit 8c97c94

Please sign in to comment.