Browse Source

Fix copypasta.

Fixes #8867.
pull/8882/head
Steven Kirk 4 years ago
parent
commit
8d9f39d3b3
  1. 2
      src/Avalonia.Controls/Utils/BorderRenderHelper.cs

2
src/Avalonia.Controls/Utils/BorderRenderHelper.cs

@ -61,7 +61,7 @@ namespace Avalonia.Controls.Utils
_backgroundGeometryCache = null;
}
if (boundRect.Width != 0 && innerRect.Height != 0)
if (boundRect.Width != 0 && boundRect.Height != 0)
{
var borderGeometryKeypoints =
new BorderGeometryKeypoints(boundRect, borderThickness, cornerRadius, false);

Loading…
Cancel
Save