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

fix: chart jumping and wobbling on window.devicePixelRatio !== 1 #136

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

WofWca
Copy link
Collaborator

@WofWca WofWca commented Oct 7, 2021

Fixes #151.

TODO:

  • Merge the branches it is based on
  • Address the TODO comments
  • Ensure pixelSnap works correctly for lineWidth % (2 * coordinatesPerPixel) === 0
  • Clean up

The issue is noticeable at `millisPerPixel` being between ~ 0.5 & 2.0 the size
of `requestAnimationFrame` period. Canvas image update period would be
inconsistent - some would last longer, some less, some would get skipped
altogether.
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.

fix: smudging at some fractional devicePixelRatio
1 participant