Fix cross axis calculation in flex layout

This commit is contained in:
Héctor Ramón Jiménez 2024-01-05 17:54:10 +01:00
parent d278bfd21d
commit 4bdd8a6279
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -142,6 +142,7 @@ where
let size = layout.size();
available -= axis.main(size);
cross = cross.max(axis.cross(layout.size()));
nodes[i] = layout;
}