File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -606,20 +606,20 @@ public void OnTouch(Internals.PointerEventArgs e)
606
606
Expander . _effectsView . Reset ( ) ;
607
607
608
608
// Restore icon color based on current state (following same logic as OnPropertyChanged)
609
- if ( this . IsMouseHover )
609
+ if ( IsMouseHover )
610
610
{
611
- if ( this . Expander . HasVisualStateGroups ( ) )
611
+ if ( Expander . HasVisualStateGroups ( ) )
612
612
{
613
- this . UpdateIconColor ( this . Expander . HeaderIconColor ) ;
613
+ UpdateIconColor ( Expander . HeaderIconColor ) ;
614
614
}
615
615
else
616
616
{
617
- this . UpdateIconColor ( this . Expander . HoverIconColor ) ;
617
+ UpdateIconColor ( Expander . HoverIconColor ) ;
618
618
}
619
619
}
620
- else if ( ! this . Expander . IsSelected )
620
+ else if ( ! Expander . IsSelected )
621
621
{
622
- this . UpdateIconColor ( this . Expander . HeaderIconColor ) ;
622
+ UpdateIconColor ( Expander . HeaderIconColor ) ;
623
623
}
624
624
}
625
625
@@ -629,9 +629,9 @@ public void OnTouch(Internals.PointerEventArgs e)
629
629
IsMouseHover = false ;
630
630
631
631
// Restore icon color to normal state since mouse hover is reset
632
- if ( ! this . Expander . IsSelected )
632
+ if ( ! Expander . IsSelected )
633
633
{
634
- this . UpdateIconColor ( this . Expander . HeaderIconColor ) ;
634
+ UpdateIconColor ( Expander . HeaderIconColor ) ;
635
635
}
636
636
}
637
637
}
You can’t perform that action at this time.
0 commit comments