neomjs / neo

The application worker driven frontend framework
https://neomjs.com
MIT License
2.83k stars 151 forks source link

layout.Cube: updateContainerSize() => sideZ value #5624

Closed tobiu closed 1 month ago

tobiu commented 1 month ago

While using Math.min(height, width) is correct, rotating the cube to the top or bottom side looks odd when when the width is bigger than the height of the parent container.

Always using the width resolves this issue.