Page 1 of 1

Opacity and Focusareacolor

Posted: 17 Dec 2015, 15:19
by zocka
The opacity value seems to not have an effect on the focusareacolor1|2 values. When fading in a label with such background, it will show from the beginning. There is no FocusAreaColor member in ManiaScript either to work around this, or are the docs not updated?
+ is it discouraged to use focusareacolor (as it doesn't seem to be widely used and the effects can be created with ManiaScript)?
I always liked it for simple flat buttons with hover effect without needing any further script :)

Re: Opacity and Focusareacolor

Posted: 18 Dec 2015, 09:14
by noyranea
Hi Zocka !

Label attributes FocusAreaColor1/2 are affected by the initial opacity (set in the manialink code), but not by script set opacity, which is your concern.
There has to be a way to do what you need, either by exposing the FocusAreaColor values to the script (which isn't the case), or by modifying the values accordingly to new opacities.
We have some other priorities right now, but I'll keep this in mind and keep you informed.

The use of FocusAreaColor isn't discouraged, as it acts as a shortcut. However, it's not very used due to it's limited range of available effects.

Kindly,

-- noyranea