st/bin: Fix height request
The request currently mixes up y-align and x-align. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3043>
This commit is contained in:
parent
49c0b849c4
commit
c8dae24645
@ -165,7 +165,7 @@ st_bin_get_preferred_height (ClutterActor *self,
|
||||
}
|
||||
else
|
||||
{
|
||||
ClutterActorAlign x_align = clutter_actor_get_y_align (priv->child);
|
||||
ClutterActorAlign x_align = clutter_actor_get_x_align (priv->child);
|
||||
|
||||
_st_actor_get_preferred_height (priv->child, for_width,
|
||||
x_align == CLUTTER_ACTOR_ALIGN_FILL,
|
||||
|
Loading…
Reference in New Issue
Block a user