st-bin: Make sure not to allocate hidden children
This commit is contained in:
parent
db20a54861
commit
7e343f11f2
@ -101,7 +101,7 @@ st_bin_allocate (ClutterActor *self,
|
||||
|
||||
clutter_actor_set_allocation (self, box, flags);
|
||||
|
||||
if (priv->child)
|
||||
if (priv->child && CLUTTER_ACTOR_IS_VISIBLE (priv->child))
|
||||
{
|
||||
StThemeNode *theme_node = st_widget_get_theme_node (ST_WIDGET (self));
|
||||
ClutterActorBox childbox;
|
||||
|
Loading…
Reference in New Issue
Block a user