Skip to content

Commit

Permalink
Merge pull request #7921 from 0x0ade/fix-ellipsenode-transform
Browse files Browse the repository at this point in the history
Add missing context.Transform = Transform in EllipseNode
  • Loading branch information
jmacato authored Apr 4, 2022
2 parents e038429 + 6e09451 commit e25c5e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Avalonia.Visuals/Rendering/SceneGraph/EllipseNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public bool Equals(Matrix transform, IBrush? brush, IPen? pen, Rect rect)

public override void Render(IDrawingContextImpl context)
{
context.Transform = Transform;
context.DrawEllipse(Brush, Pen, Rect);
}

Expand Down

0 comments on commit e25c5e5

Please sign in to comment.