Wikia

WoWWiki

Talk:API UIObject SetAlpha

101,311pages on
this wiki

Back to page

The only Integers between 0 and 1 are these numbers themselve as far as i know.

I've fixed it. It's obviously "floating-point", not integer. --Mikk 03:55, 29 July 2006 (EDT)




After doing some extensive testing, SetAlpha() does not (maybe it used to?) behave multiplicatively. Child frames only inherit parent alpha settings if their alpha is set to 1 or has never been set. Otherwise SetAlpha() sets an absolute alpha value. This may be designed this way so that child frames can have higher alpha than their parents (if it was truly restricted to 0->1 and behaved multiplicatively, child frames would always have alpha <= parent alpha). In fact I'm not even sure if SetAlpha(1) might set an absolute value as well, breaking any possibility of inheriting alpha from parent. More testing may be needed to see exactly how this behaves.

--Flick 14:50, 2 February 2007 (EST)


It does now - see 2.1.0_consolidated_changes#Frames.

--Fin 20:55, 17 June 2007 (CEST)

Around Wikia's network

Random Wiki