View Single Post
05-05-16, 01:56 AM   #21
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
The ColorPickerFrame is still using texture:SetTexture(r,g,b) which had this functionality moved to texture:SetColorTexture(r,g,b). The old method doesn't work anymore as some textures are now referred to by internal numbers.



This provides a quick fix for now.
Lua Code:
  1. ColorPickerFrame:SetScript("OnColorSelect",function(self,r,g,b)
  2.     ColorSwatch:SetColorTexture(r,g,b);
  3.     if self.func then self.func(); end
  4. end);
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 05-05-16 at 02:11 AM.