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.
(cherry picked from commit ab4c72d758
)
This commit is contained in:
parent
ba33a05dd2
commit
9152d3a286
@ -90,7 +90,7 @@ adjustment_value_notify_cb (StAdjustment *adjustment,
|
|||||||
GParamSpec *pspec,
|
GParamSpec *pspec,
|
||||||
StBoxLayout *box)
|
StBoxLayout *box)
|
||||||
{
|
{
|
||||||
clutter_actor_queue_redraw (CLUTTER_ACTOR (box));
|
clutter_actor_queue_relayout (CLUTTER_ACTOR (box));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user