Browse Source
Merge pull request #6242 from YohDeadfall/fix-adorner-measure
Invalidating measure on TransformedBounds update
pull/6456/head
Dan Walmsley
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Controls/Primitives/AdornerLayer.cs
|
|
|
@ -183,7 +183,7 @@ namespace Avalonia.Controls.Primitives |
|
|
|
info.Subscription = adorned.GetObservable(TransformedBoundsProperty).Subscribe(x => |
|
|
|
{ |
|
|
|
info.Bounds = x; |
|
|
|
InvalidateArrange(); |
|
|
|
InvalidateMeasure(); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|