From 175c3ec24a08039115d0765648c880d7185c2e39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Su=C3=A1rez=20Ruiz?= Date: Tue, 30 Nov 2021 10:24:15 +0100 Subject: [PATCH] Fix issue not rendering Border if Background is null on Windows --- src/Core/src/Platform/Windows/ContentPanel.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Core/src/Platform/Windows/ContentPanel.cs b/src/Core/src/Platform/Windows/ContentPanel.cs index 0e30c98bb21c..fd126e1d38c5 100644 --- a/src/Core/src/Platform/Windows/ContentPanel.cs +++ b/src/Core/src/Platform/Windows/ContentPanel.cs @@ -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)