Skip to content

Commit

Permalink
Merge pull request AvaloniaUI#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 and Dan Walmsley committed May 10, 2022
1 parent 806262b commit 0c2aa70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Avalonia.Visuals/Rendering/SceneGraph/EllipseNode.cs
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 0c2aa70

Please sign in to comment.