Frontmatter
| id | 5624 |
| title | layout.Cube: updateContainerSize() => sideZ value |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Jul 25, 2024, 11:31 PM |
| updatedAt | Jul 25, 2024, 11:32 PM |
| githubUrl | https://github.com/neomjs/neo/issues/5624 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jul 25, 2024, 11:32 PM |
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.