We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afe134d commit 891fa5cCopy full SHA for 891fa5c
Microsoft.Toolkit.Uwp.UI.Media/Shadows/AttachedCardShadow.cs
@@ -326,6 +326,16 @@ protected internal override void OnSizeChanged(AttachedShadowElementContext cont
326
shapeVisual.Size = sizeAsVec2;
327
}
328
329
+ if (context.TryGetResource(OpacityMaskVisualSurfaceResourceKey, out CompositionVisualSurface opacityMaskVisualSurface))
330
+ {
331
+ opacityMaskVisualSurface.SourceSize = sizeAsVec2 + new Vector2(MaxBlurRadius * 2);
332
+ }
333
+
334
+ if (InnerContentClipMode is InnerContentClipMode.CompositionMaskBrush)
335
336
+ context.SpriteVisual.Size = sizeAsVec2;
337
338
339
UpdateShadowClip(context);
340
UpdateVisualOpacityMask(context);
341
0 commit comments