Skip to content

Commit d7ba0fa

Browse files
committed
Fix AttachedDropShadow size changes abnormally
1 parent 00e9790 commit d7ba0fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Microsoft.Toolkit.Uwp.UI/Shadows/AttachedDropShadow.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ protected internal override void OnSizeChanged(AttachedShadowElementContext cont
344344
context.SpriteVisual.Offset = context.Element.CoordinatesFrom(CastTo).ToVector3();
345345

346346
UpdateShadowClip(context);
347+
UpdateShadowMask(context);
347348

348349
base.OnSizeChanged(context, newSize, previousSize);
349350
}

0 commit comments

Comments
 (0)