@@ -1065,15 +1065,15 @@ function MPOWA:OptionsFrame_SetColor()
10651065 frame .g = g
10661066 frame .b = b
10671067
1068- self .SAVE [MPOWA .CurEdit ][name .. " _r" ] = r
1069- self .SAVE [MPOWA .CurEdit ][name .. " _g" ] = g
1070- self .SAVE [MPOWA .CurEdit ][name .. " _b" ] = b
1068+ MPOWA .SAVE [MPOWA .CurEdit ][name .. " _r" ] = r
1069+ MPOWA .SAVE [MPOWA .CurEdit ][name .. " _g" ] = g
1070+ MPOWA .SAVE [MPOWA .CurEdit ][name .. " _b" ] = b
10711071
10721072 if name == " fontcolor" then
1073- if self .SAVE [MPOWA .CurEdit ].usefontcolor then
1074- _G (" TextureFrame" .. MPOWA .CurEdit .. " _Timer" ):SetTextColor (r ,g ,b ,self .SAVE [MPOWA .CurEdit ].fontalpha )
1073+ if MPOWA .SAVE [MPOWA .CurEdit ].usefontcolor then
1074+ _G (" TextureFrame" .. MPOWA .CurEdit .. " _Timer" ):SetTextColor (r ,g ,b ,MPOWA .SAVE [MPOWA .CurEdit ].fontalpha )
10751075 else
1076- _G (" TextureFrame" .. MPOWA .CurEdit .. " _Timer" ):SetTextColor (1 ,1 ,1 ,self .SAVE [MPOWA .CurEdit ].fontalpha )
1076+ _G (" TextureFrame" .. MPOWA .CurEdit .. " _Timer" ):SetTextColor (1 ,1 ,1 ,MPOWA .SAVE [MPOWA .CurEdit ].fontalpha )
10771077 end
10781078 elseif name == " icon" then
10791079 MPowa_ConfigFrame_Container_1_Icon_Texture :SetVertexColor (r ,g ,b )
@@ -1094,10 +1094,10 @@ function MPOWA:OptionsFrame_CancelColor()
10941094 frame .b = b
10951095
10961096 if name == " fontcolor" then
1097- if self .SAVE [MPOWA .CurEdit ].usefontcolor then
1098- _G (" TextureFrame" .. MPOWA .CurEdit .. " _Timer" ):SetTextColor (r ,g ,b ,self .SAVE [MPOWA .CurEdit ].fontalpha )
1097+ if MPOWA .SAVE [MPOWA .CurEdit ].usefontcolor then
1098+ _G (" TextureFrame" .. MPOWA .CurEdit .. " _Timer" ):SetTextColor (r ,g ,b ,MPOWA .SAVE [MPOWA .CurEdit ].fontalpha )
10991099 else
1100- _G (" TextureFrame" .. MPOWA .CurEdit .. " _Timer" ):SetTextColor (1 ,1 ,1 ,self .SAVE [MPOWA .CurEdit ].fontalpha )
1100+ _G (" TextureFrame" .. MPOWA .CurEdit .. " _Timer" ):SetTextColor (1 ,1 ,1 ,MPOWA .SAVE [MPOWA .CurEdit ].fontalpha )
11011101 end
11021102 elseif name == " icon" then
11031103 MPowa_ConfigFrame_Container_1_Icon_Texture :SetVertexColor (r ,g ,b )
0 commit comments