Skip to content

Commit

Permalink
Fix issue not rendering Border if Background is null on Windows (#3588)
Browse files Browse the repository at this point in the history
fixes #3349
  • Loading branch information
jsuarezruiz committed Nov 30, 2021
1 parent c64f247 commit 664bc35
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Core/src/Platform/Windows/ContentPanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ public void UpdateBackground(Paint? background)
return;

_borderPath.Fill = background?.ToNative();
_borderPath.Visibility = background != null ? UI.Xaml.Visibility.Visible : UI.Xaml.Visibility.Collapsed;
}

public void UpdateStroke(Paint borderBrush)
Expand Down

0 comments on commit 664bc35

Please sign in to comment.