Decouple actor opacity from fill opacity in ClutterRectangle (fixes
authorØyvind Kolås <pippin@openedhand.com>
Tue, 20 May 2008 16:05:57 +0000 (16:05 +0000)
committerØyvind Kolås <pippin@openedhand.com>
Tue, 20 May 2008 16:05:57 +0000 (16:05 +0000)
commitecd5ba2bd28403b107d44c71d75f792e42b202a9
tree1d43e9c5716c6a58b2475deede3668cc0cc4a677
parent2008a03a6be9f8f4c9502b777506c394188a98f9
Decouple actor opacity from fill opacity in ClutterRectangle (fixes
race when both are set from clutter script also makes it more
consistent with the behavior of other actors.)
* clutter/clutter-rectangle.c: (clutter_rectangle_set_color): stop
setting the opacity of the actor from the specified color.
(clutter_rectangle_paint): combine the absolute opacity of the actor
with the alpha of the color when painting.
ChangeLog
clutter/clutter-rectangle.c