Cooldown spiral no longer inherit alpha?
Hi I have an addon for moving around DK runes and fading them out of combat. But now i WoD the cooldown spiral no longer seems to inherit the alpha from the frame it self, the scale also seems off (but I'm not sure on that)
Pic: http://i.imgur.com/IYZoR19.jpg The code I'm using is just a simple RuneFrame:SetAlpha(RHaic) where RHaic is a local variable, this works fine on live but results in the cooldown spiral still showing when I'm testing it on the WoD beta. Is this related to the changes to animation and if so how do I fix it? Code:
if (event == "PLAYER_ENTERING_WORLD" or event == "PLAYER_REGEN_ENABLED") and not UnitInVehicleControlSeat("player") then |
Don't quote me on this, but you might try something like this..
Lua Code:
|
https://code.google.com/p/rothui/sou...n.lua&old=1281
Lua Code:
Source: http://www.wowinterface.com/forums/s...ad.php?t=49501 |
Quote:
Although I just tested it and it seems to be on the standard RuneFrame as well so I guess this is a bug on Blizzards side. |
Quote:
The swipe texture isn't round on live, its corners are just being covered by the round border. It's not actually possible to create a round cooldown texture on live. This seems to work, although I have managed to crash the client several times attempting to change the swipe texture while it was running. Lua Code:
|
Woho that works great, thanks alot for the help guys! Weird that the spiral is bigger on the beta than on live though..
Oh well it works great with the texture you found now anyways! |
Holy cow you crash the client changing a texture. WoW.
|
Quote:
|
So, SetSwipeColor does make it possible to hide the normal spiral, but it doesn't actually do anything about the shine effect at the end of a cooldown.
|
I'll just document some of the other cooldown methods that you might be interested in here.
Lua Code:
|
Have you found a solution? Because I need one for rActionBarStyler. Buttons with alpha 0 will still have the cooldown visible.
Do I actually have to check if the frame is a button with a cooldown and change it via swipecolor? Meh. |
Bartender appears to update the swipe color when updating a cooldown.
In Dominos, I reparent the cooldown to a hidden frame when alpha == 0. |
I thought about it. This may fix the issue. According to the ActionButtonTemplate.xml the cooldown is available as button.cooldown.
There is a problem though. There may be any sort of inate alpha. We need to save that. Lua Code:
|
Quote:
|
Err. There is actually no get method for the swipe color. Grmpf.
Here is my working fix for now. lua Code:
|
Hm. Do I miss something here? :)
Whats with Cooldown:SetDrawSwipe(false)? I'm doing it on SPELL_UPDATE_COOLDOWN for my Buttons and it seems to work. |
Well. Don't you think that Blizzard would just set it to true if a new cooldown is started?
|
Sorry. :) See my edit.
[e] Oh, and I'm using self:HookScript('OnShow',... to do it there too. |
Btw my solution works but it seems to reset the swipecolor and thus the alpha value on instance change.
Sounds like a bug to me that the cooldown does not take the parented alpha value into account. |
It doesn't even take its own alpha into account, it's definitely bugged.
You can call cooldown:SetAlpha() directly and it won't have any effect on it. |
All times are GMT -6. The time now is 07:41 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI