Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
MartyIX committed Aug 18, 2024
1 parent e5c5fe8 commit 65ddf79
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Core/src/Platform/Windows/WrapperView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,9 @@ async Task CreateShadowAsync()
if (_shadowCanvas is null)
{
_shadowCanvas = new();
Children.Add(_shadowCanvas);

// Shadow canvas must be the first child. The order of children (i.e. shadow canvas and border path) matters.
Children.Insert(0, _shadowCanvas);
}

var ttv = Child.TransformToVisual(_shadowCanvas);
Expand Down

0 comments on commit 65ddf79

Please sign in to comment.