File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
components/MarqueeText/src Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,11 @@ namespace CommunityToolkit.Labs.WinUI.MarqueeTextRns;
2121[ TemplateVisualState ( GroupName = BehaviorVisualStateGroupName , Name = LoopingVisualStateName ) ]
2222[ TemplateVisualState ( GroupName = BehaviorVisualStateGroupName , Name = BouncingVisualStateName ) ]
2323[ ContentProperty ( Name = nameof ( Text ) ) ]
24+
25+ #if HAS_UNO
26+ // See: https://github.com/CommunityToolkit/Labs-Windows/pull/275#issuecomment-1331113635
27+ #pragma warning disable CA1001
28+ #endif
2429public partial class MarqueeText : Control
2530{
2631 private const string MarqueeContainerPartName = "MarqueeContainer" ;
@@ -274,3 +279,7 @@ _segment1 is null ||
274279 return true ;
275280 }
276281}
282+
283+ #if HAS_UNO
284+ #pragma warning restore CA1001
285+ #endif
You can’t perform that action at this time.
0 commit comments