Skip to content

docs: fix typo in BoxyId example Size calculation#49

Closed
RandalSchwartz wants to merge 1 commit into
pingbird:masterfrom
RandalSchwartz:fix-issue-46-docs-typo
Closed

docs: fix typo in BoxyId example Size calculation#49
RandalSchwartz wants to merge 1 commit into
pingbird:masterfrom
RandalSchwartz:fix-issue-46-docs-typo

Conversation

@RandalSchwartz

Copy link
Copy Markdown

This PR fixes a small typo in the BoxyId documentation example where worldSize.height was used instead of worldSize.width in the Size constructor's width parameter.

Closes #46.

Fixes pingbird#46 by correctly using worldSize.width instead of worldSize.height
when calculating the maximum width of the layout.
@RandalSchwartz

Copy link
Copy Markdown
Author

found this with antigravity and gemini 3.1 flash. blame them if it's not correct. :)

@RandalSchwartz RandalSchwartz left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Closing as this documentation fix is included in the more comprehensive PR #51.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BoxyId example mistake

1 participant