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 c81a9e9 commit d2a1ff1Copy full SHA for d2a1ff1
components/Marquee/src/Marquee.cs
@@ -282,9 +282,6 @@ private bool UpdateAnimation(out TimeSpan seekPoint)
282
{
283
seekPoint = TimeSpan.Zero;
284
285
- // Stop any existing storyboard
286
- _marqueeStoryboard?.Stop();
287
-
288
// Check for crucial template parts
289
if (_marqueeContainer is null ||
290
_marqueeTransform is null ||
@@ -342,6 +339,7 @@ _segment1 is null ||
342
339
_segment2.Visibility = Visibility.Collapsed;
343
340
344
341
_marqueeStoryboard = null;
+ _marqueeStoryboard?.Stop();
345
return false;
346
}
347
@@ -361,6 +359,7 @@ _segment1 is null ||
361
359
if (distance is 0)
362
360
363
364
365
366
0 commit comments