swift-cross-ui
swift-cross-ui copied to clipboard
Fix Group behaviour in ZStacks
Groups in ZStacks should lay out their children along the z axis but will default to the orientation of the ZStack's container instead.
Fixing this will involve:
- Adding the z axis to the
Orientationenum. - Updating
Groupto support this new orientation. - Updating
ZStack's implementation of theViewprotocol to just lean onGrouplikeVStackandHStackalready do.
Thanks @bbrk24 for discovering this.