Revert last fix
This commit is contained in:
parent
847846923e
commit
191d667a7c
@ -98,7 +98,7 @@ clutter_behaviour_alpha_notify (ClutterBehaviour *behave,
|
|||||||
delta = priv->opacity_end - priv->opacity_start;
|
delta = priv->opacity_end - priv->opacity_start;
|
||||||
|
|
||||||
opacity = alpha_value * delta / CLUTTER_ALPHA_MAX_ALPHA;
|
opacity = alpha_value * delta / CLUTTER_ALPHA_MAX_ALPHA;
|
||||||
opacity += priv->opacity_end;
|
opacity += priv->opacity_start;
|
||||||
|
|
||||||
CLUTTER_NOTE (BEHAVIOUR, "alpha: %i, opacity: %i", alpha_value, opacity);
|
CLUTTER_NOTE (BEHAVIOUR, "alpha: %i, opacity: %i", alpha_value, opacity);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user