Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add prop to force equal number of hexagons in every row #21

Open
calvbore opened this issue Jan 10, 2022 · 0 comments
Open

Comments

@calvbore
Copy link

In the current implementation after setting the maxHorizontal the rows alternate in length between maxHorizontal and maxHorizontal -1.

I suggest adding a boolean prop that forces every row to the set maxHorizontal length if it can be filled by tiles. It seems this behaviour is already present when maxHorizontal = 1.

Possible names for this prop are forceLength or forceHorizonal, but the name is really not that important.

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

No branches or pull requests

1 participant