Quantcast
WoWInterface - View Single Post - Would it be possible to get value of element during table construction?
View Single Post
07-31-16, 10:10 AM   #5
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,289
Originally Posted by Layback_ View Post
That's actually a good point!

But, if possible, I would like to keep them as a two separate variables.

For now, height and iconSize could be the same values, but for some cases I could give some variations on them.
Then you could just addon another boolean variable called "sameSize", and if it's true then you use the castbar's height, else the icon height.
  Reply With Quote