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

Add option to provide your own rounding function #55

Closed
wants to merge 3 commits into from
Closed

Add option to provide your own rounding function #55

wants to merge 3 commits into from

Conversation

IgnusG
Copy link

@IgnusG IgnusG commented Nov 28, 2020

Resolves #46

If this function is identity it will implicitly opt-in to subpixel render updates.

Other uses can be providing ratios for example:
(width) => [width, width * 1.5]
@ZeeCoder
Copy link
Owner

Sorry for not reacting to this yet, I'm in the middle of a very busy period finding my next role.
I should have some time today / this weekend though. 👌

@IgnusG
Copy link
Author

IgnusG commented Dec 11, 2020

Sorry for not reacting to this yet, I'm in the middle of a very busy period finding my next role.
I should have some time today / this weekend though. 👌

Don't worry, take your time 👍
If there are any suggestions/issues let me know and I'll see what I can do to resolve them

ZeeCoder added a commit that referenced this pull request Aug 28, 2021
ZeeCoder added a commit that referenced this pull request Aug 28, 2021
ZeeCoder added a commit that referenced this pull request Aug 28, 2021
@ZeeCoder ZeeCoder closed this in 1224bc8 Aug 28, 2021
github-actions bot pushed a commit that referenced this pull request Aug 28, 2021
# [7.1.0](v7.0.1...v7.1.0) (2021-08-28)

### Bug Fixes

* The `onResize` callback is no longer incorrectly called with the same values. ([29938a1](29938a1))

### Features

* Added the `box` option ([f873597](f873597)), closes [#31](#31) [#57](#57)
* Added the `round` option. ([1224bc8](1224bc8)), closes [#55](#55) [#46](#46) [#61](#61)
ZeeCoder added a commit that referenced this pull request Aug 28, 2021
ZeeCoder pushed a commit that referenced this pull request Aug 28, 2021
# [7.1.0](v7.0.1...v7.1.0) (2021-08-28)

### Bug Fixes

* The `onResize` callback is no longer incorrectly called with the same values. ([29938a1](29938a1))

### Features

* Added the `box` option ([f873597](f873597)), closes [#31](#31) [#57](#57)
* Added the `round` option. ([1224bc8](1224bc8)), closes [#55](#55) [#46](#46) [#61](#61)
github-actions bot pushed a commit that referenced this pull request Aug 28, 2021
# [8.0.0](v7.0.1...v8.0.0) (2021-08-28)

### Bug Fixes

* Removed `resize-observer-polyfill` in favour of `@juggle/resize-observer`. ([8afc8f6](8afc8f6))
* The `onResize` callback is no longer incorrectly called with the same values. ([bd0f3c8](bd0f3c8))

### Features

* Added the `box` option ([0ca6c23](0ca6c23)), closes [#31](#31) [#57](#57)
* Added the `round` option. ([aa38199](aa38199)), closes [#55](#55) [#46](#46) [#61](#61)
* Triggering the v8 release ([4373a1f](4373a1f))

### BREAKING CHANGES

* Triggering the v8 release, which was published as 7.1.0 by accident.
@github-actions
Copy link

🎉 This issue has been resolved in version 8.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Repository owner deleted a comment from github-actions bot Aug 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rounding causes trouble...
2 participants