Browse Source
Fixed RectangleGeometry not cloning its radius properties (#18934)
pull/18950/head
Tom Edwards
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Base/Media/RectangleGeometry.cs
|
|
|
@ -100,7 +100,7 @@ namespace Avalonia.Media |
|
|
|
} |
|
|
|
|
|
|
|
/// <inheritdoc/>
|
|
|
|
public override Geometry Clone() => new RectangleGeometry(Rect); |
|
|
|
public override Geometry Clone() => new RectangleGeometry(Rect, RadiusX, RadiusY); |
|
|
|
|
|
|
|
private protected sealed override IGeometryImpl? CreateDefiningGeometry() |
|
|
|
{ |
|
|
|
|