From 641b8887456c2518a52206d4d73a0115a5d52c85 Mon Sep 17 00:00:00 2001 From: Yoh Deadfall Date: Mon, 12 Jul 2021 18:59:08 +0300 Subject: [PATCH] Invalidating measure on TransformedBounds update --- src/Avalonia.Controls/Primitives/AdornerLayer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avalonia.Controls/Primitives/AdornerLayer.cs b/src/Avalonia.Controls/Primitives/AdornerLayer.cs index a397608abab..7c02832af66 100644 --- a/src/Avalonia.Controls/Primitives/AdornerLayer.cs +++ b/src/Avalonia.Controls/Primitives/AdornerLayer.cs @@ -154,7 +154,7 @@ private void UpdateAdornedElement(Visual adorner, Visual adorned) info.Subscription = adorned.GetObservable(TransformedBoundsProperty).Subscribe(x => { info.Bounds = x; - InvalidateArrange(); + InvalidateMeasure(); }); } }