Thread Tools Display Modes
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,313
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.
 
05-05-16, 04:26 PM   #22
galvin
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 265
Thanks, didn't even catch that. Knew about the change though.
 
 

WoWInterface » Site Forums » Archived Beta Forums » Legion Beta archived threads » How do you hide cooldown text?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off