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 be5debf commit 8102102Copy full SHA for 8102102
labs/MarqueeText/src/MarqueeText.cs
@@ -22,6 +22,9 @@ namespace CommunityToolkit.Labs.WinUI.MarqueeTextRns;
22
[TemplateVisualState(GroupName = BehaviorVisualStateGroupName, Name = BouncingVisualStateName)]
23
[ContentProperty(Name = nameof(Text))]
24
public partial class MarqueeText : Control
25
+#if HAS_UNO
26
+ , IDisposable
27
+#endif
28
{
29
private const string MarqueeContainerPartName = "MarqueeContainer";
30
private const string Segment1PartName = "Segment1";
@@ -221,7 +224,7 @@ _segment1 is null ||
221
224
_marqueeStoryboard.Completed -= StoryBoard_Completed;
222
225
}
223
226
- _marqueeStoryboard = new Storyboard()
227
+ _marqueeStoryboard = new Storyboard
228
229
Duration = duration,
230
RepeatBehavior = RepeatBehavior,
0 commit comments