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:
parent
86a520b880
commit
ab4c72d758
@ -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