Skip to content

Commit

Permalink
Merge pull request #6242 from YohDeadfall/fix-adorner-measure
Browse files Browse the repository at this point in the history
Invalidating measure on TransformedBounds update
  • Loading branch information
Dan Walmsley committed Aug 16, 2021
2 parents 1ab3c2a + 22cf20f commit afb8ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Avalonia.Controls/Primitives/AdornerLayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ private void UpdateAdornedElement(Visual adorner, Visual? adorned)
info.Subscription = adorned.GetObservable(TransformedBoundsProperty).Subscribe(x =>
{
info.Bounds = x;
InvalidateArrange();
InvalidateMeasure();
});
}
}
Expand Down

0 comments on commit afb8ae6

Please sign in to comment.