@@ -637,14 +637,16 @@ local function ReskinListElement(frame)
637637 frame .ExpandIcon :Size (12 , 12 )
638638 F .Move (frame .ExpandIcon , 6 , 0 )
639639 F .InternalizeMethod (frame .ExpandIcon , " SetTexCoord" )
640+ local ULx , ULy , _ , _ , _ , _ , LRx , LRy = frame .ExpandIcon :GetTexCoord ()
640641 F .CallMethod (frame .ExpandIcon , " SetTexCoord" , 0 , 1 , 0 , 1 )
641642 frame .ExpandIcon .SetTexCoord = function (_ , ...)
642- local isPlus = F .IsAlmost ({ 0.75 , 0.80078125 , 0 , 0.40625 }, { ... })
643- frame .ExpandIcon :SetTexture (isPlus and W .Media .Icons .buttonPlus or W .Media .Icons .buttonMinus )
643+ if F .IsAlmost ({ 0.75 , 0.80078125 , 0 , 0.40625 }, { ... }) then
644+ frame .ExpandIcon :SetTexture (W .Media .Icons .buttonPlus )
645+ elseif F .IsAlmost ({ 0.80078125 , 0.8515625 , 0 , 0.40625 }, { ... }) then
646+ frame .ExpandIcon :SetTexture (W .Media .Icons .buttonMinus )
647+ end
644648 end
645- local ULx , ULy , _ , _ , _ , _ , LRx , LRy = frame .ExpandIcon :GetTexCoord ()
646649 frame .ExpandIcon :SetTexCoord (ULx , LRx , ULy , LRy )
647-
648650 frame .ExpandIcon .__windSkin = true
649651 end
650652
0 commit comments