View Single Post
07-08-09, 11:20 AM   #3
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,934
To save starting a new thread regarding something else to do with the slash commands I thought I would post it here.

I noticed that when you toggle the display of the cooldowns on the buttons if the timing is more than a minute it doesn't update the display straight away when you turn it on. If its less than a minute it works fine. And when you turn it off it is immediate.

Example:
Button Cooldowns = true
Arcane Torrent 2 min Countdown clicked
Button shows Cooldown
Turn off cooldowns and cooldown disappears
Cooldown now at over 1 min but less than 2 min
Turn on cooldowns and cooldown doesn't appear
40 seconds later .... still no cooldown
Cooldown now at 60s
Cooldown appears.

Also, is the Toggle Durations supposed to toggle the Cooldowns too ? As it seems to be doing that too until the next update pass which from the note above is as much as 2 mins

Oh and finally ( I hope ). I noticed the dimming alpha isn't quite right.


if not alpha or alpha <= 0 or alpha > 1 then

It looks like it is failing the first test as if I remember right it treats nil and 0 as false. Only a problem for those that want to fully transparent the button.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818

Last edited by Xrystal : 07-08-09 at 11:43 AM.