Skip to content

stackable-box: Fix ordering in children_reversed

Alice Mikhaylenko requested to merge alicem/libhandy:leaflet-thing into master

When adding a child, we update the regular child list, then update the reversed child list using the length of the regular one. However, by the time we use it, it has already changed as we've just added an element, so store the length before adding it.

Fixes libadwaita#67 (closed) Fixes libadwaita#88 (closed)

Merge request reports