WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Legion Beta archived threads (https://www.wowinterface.com/forums/forumdisplay.php?f=177)
-   -   How do you hide cooldown text? (https://www.wowinterface.com/forums/showthread.php?t=53406)

SDPhantom 05-05-16 01:56 AM

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);

galvin 05-05-16 04:26 PM

Thanks, didn't even catch that. Knew about the change though.


All times are GMT -6. The time now is 09:10 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI