WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Macro Help (https://www.wowinterface.com/forums/forumdisplay.php?f=140)
-   -   Hide/show Blizzard's cooldown background/spiral on bars (https://www.wowinterface.com/forums/showthread.php?t=50212)

ramzax 10-20-14 09:10 PM

Hide/show Blizzard's cooldown background/spiral on bars
 
I use this macro to show/hide toolbars as I need them, but the macro doesn't hide blizzard's black cooldown background.
Code:

/run f={MultiBarLeft,MultiBarRight,MultiBarBottomRight,PetActionBarFrame}for i=1,4 do if f[i]:GetAlpha()<0.9 then f[i]:SetAlpha(1)else f[i]:SetAlpha(0) end end


I was hoping to get any help so that the macro hides/shows the background too depending on the state of alpha of the bars (hide background when buttons alpha is 0, show otherwise).

Any help is appreciated :)

zork 10-21-14 01:54 AM

Read http://www.wowinterface.com/forums/s...ad.php?t=49950

The new Cooldown does not inherit Alpha. Which is a bug imo. Only options you have atm are to check for the cooldown and adjust the color of the swipe texture accordingly. Problem. There is no function to get the swipe color. Only to set them.

ramzax 10-21-14 08:17 PM

well that's a bummer, thanks for answering zork, love your addons :)


All times are GMT -6. The time now is 06:08 AM.

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