peterstuart / cherry

MIT License
0 stars 0 forks source link

Don't panic if child is bigger than its parent #22

Closed peterstuart closed 2 years ago

peterstuart commented 2 years ago

Fixes #17

I'm considering the behavior in this case to be undefined still, but at least it won't panic (from an underflow when subtracting a large unsigned integer from a smaller one).

peterstuart commented 2 years ago

@helixbass Me neither—flexbox just lets the child escape out of the parent.