LearnNewsExamplesServices
Frontmatter
id5624
titlelayout.Cube: updateContainerSize() => sideZ value
stateClosed
labels
enhancement
assigneestobiu
createdAtJul 25, 2024, 11:31 PM
updatedAtJul 25, 2024, 11:32 PM
githubUrlhttps://github.com/neomjs/neo/issues/5624
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJul 25, 2024, 11:32 PM

layout.Cube: updateContainerSize() => sideZ value

Closed v8.1.0 enhancement
tobiu
tobiu commented on Jul 25, 2024, 11:31 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.

tobiu added the enhancement label on Jul 25, 2024, 11:31 PM
tobiu assigned to @tobiu on Jul 25, 2024, 11:31 PM
tobiu referenced in commit f2c010d - "layout.Cube: updateContainerSize() => sideZ value #5624" on Jul 25, 2024, 11:32 PM
tobiu closed this issue on Jul 25, 2024, 11:32 PM