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

Compute ribbon width with floor instead of round #160

Merged
merged 1 commit into from
Jun 30, 2020

Conversation

sjakobi
Copy link
Collaborator

@sjakobi sjakobi commented Mar 11, 2020

floor seems like the more appropriate method to handle fractional ribbon widths. E.g. when the ribbon width is 7.5, we don't want to allow a ribbon of 8 columns.

Fixes #157.

@sjakobi sjakobi added the PVP: major Requires a major version bump label Mar 11, 2020
@sjakobi sjakobi changed the title WIP: Compute ribbon width with floor instead of round Compute ribbon width with floor instead of round Mar 29, 2020
@sjakobi
Copy link
Collaborator Author

sjakobi commented Mar 29, 2020

@quchen I'd be interested to know what you think about this! :)

@quchen
Copy link
Owner

quchen commented May 22, 2020

I’m not passionate about ribboning in general. I agree that floor makes more sense here, so why not.

@sjakobi
Copy link
Collaborator Author

sjakobi commented May 22, 2020

Thanks for the feedback @quchen! :) I'll include this in the next major release then.

@sjakobi sjakobi merged commit f289c17 into master Jun 30, 2020
@sjakobi sjakobi deleted the 157-ribbon-width-floor branch June 30, 2020 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PVP: major Requires a major version bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ribbon width should be computed with floor instead of round
2 participants