Skip to content

Commit

Permalink
fix(clipping): Fix clipping of the Border
Browse files Browse the repository at this point in the history
  • Loading branch information
dr1rrb committed Aug 7, 2023
1 parent b1a787b commit 76c50a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Uno.UI/UI/Xaml/Controls/Border/Border.skia.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ protected override void OnBackgroundChanged(DependencyPropertyChangedEventArgs a
UpdateBorder();
}

bool ICustomClippingElement.AllowClippingToLayoutSlot => !(Child is UIElement ue) || ue.RenderTransform == null;
bool ICustomClippingElement.AllowClippingToLayoutSlot => true;
bool ICustomClippingElement.ForceClippingToLayoutSlot => CornerRadius != CornerRadius.None;
}
}

0 comments on commit 76c50a1

Please sign in to comment.