st-box-layout: Queue relayout on adjustment changes

The actor allocation doesn't change per-se, but apply_transform()
will practically transform it. In order to have the paint volume
update accordingly, queue a relayout.
This commit is contained in:
Carlos Garnacho 2018-06-28 16:41:07 +02:00 committed by Georges Basile Stavracas Neto
parent 86a520b880
commit ab4c72d758

View File

@ -90,7 +90,7 @@ adjustment_value_notify_cb (StAdjustment *adjustment,
GParamSpec *pspec,
StBoxLayout *box)
{
clutter_actor_queue_redraw (CLUTTER_ACTOR (box));
clutter_actor_queue_relayout (CLUTTER_ACTOR (box));
}
static void