Navigation Menu

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

feat: automatically round numbers that are converted to points #14604

Merged
merged 1 commit into from Sep 13, 2018

Conversation

MarshallOfSound
Copy link
Member

Fixes #14490

Description of Change

Points that are taken in as input to Electron API's are now auto rounded if floats are provided as input. E.g. { x: 5.5, y: 6 } becomes { x: 6, y: 6 }. This is the current expected user workaround and will have no impact on currently working code however I consider this semver/minor.

Release Notes

Notes: Point based API's now automatically round incoming x and y values

@MarshallOfSound MarshallOfSound requested review from a team September 13, 2018 07:20
@ckerr ckerr added the semver/minor backwards-compatible functionality label Sep 13, 2018
Copy link
Contributor

@jkleinsc jkleinsc left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@ckerr ckerr merged commit 73a1a8b into master Sep 13, 2018
@release-clerk
Copy link

release-clerk bot commented Sep 13, 2018

Release Notes Persisted

Point based API's now automatically round incoming x and y values

@jkleinsc jkleinsc deleted the auto-round-points branch September 13, 2018 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/minor backwards-compatible functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants