Skip to content

Commit dd5f3ce

Browse files
committed
Stop animation first
1 parent f24de6f commit dd5f3ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/Shimmer/src/Shimmer/Shimmer.Properties.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// See the LICENSE file in the project root for more information.
44

55
namespace CommunityToolkit.Labs.WinUI;
6+
67
public partial class Shimmer : Control
78
{
89
/// <summary>
@@ -29,6 +30,7 @@ public partial class Shimmer : Control
2930

3031
if (isActive)
3132
{
33+
self.StopAnimation();
3234
self.TryStartAnimation();
3335
}
3436
else

0 commit comments

Comments
 (0)