st-widget: Don't add hidden actors to the paint volume
We are not painting them anyway.
This commit is contained in:
parent
37595ff3e7
commit
ea55c36a3a
@ -791,6 +791,9 @@ st_widget_get_paint_volume (ClutterActor *self,
|
|||||||
{
|
{
|
||||||
const ClutterPaintVolume *child_volume;
|
const ClutterPaintVolume *child_volume;
|
||||||
|
|
||||||
|
if (!CLUTTER_ACTOR_IS_VISIBLE (child))
|
||||||
|
continue;
|
||||||
|
|
||||||
child_volume = clutter_actor_get_transformed_paint_volume (child, self);
|
child_volume = clutter_actor_get_transformed_paint_volume (child, self);
|
||||||
if (!child_volume)
|
if (!child_volume)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user