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

Canvas path edges are not smooth when drawn using pencil #2

Closed
isumesh opened this issue Apr 29, 2020 · 5 comments
Closed

Canvas path edges are not smooth when drawn using pencil #2

isumesh opened this issue Apr 29, 2020 · 5 comments

Comments

@isumesh
Copy link

isumesh commented Apr 29, 2020

Describe the bug
When we draw or write something on the canvas using an apple pencil the paths are not crisp.
Whereas on the web its fine.
Image attached here
Screenshot 2020-04-29 at 10 55 30 PM

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
Things drawn or written on the canvas should be crisp.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: ipadOS 13
  • Browser - chrome for ipad

Additional context
Add any other context about the problem here.

@vinothpandian
Copy link
Owner

Planning to add polyfill to support pointer events in iOS. Hope that solves it

@isumesh
Copy link
Author

isumesh commented Apr 30, 2020

hi thanks for the prompt response.
as i mentioned earlier, i m using this library in a project and this functionality is critical. can u guide me how i can add this now ?

@vinothpandian
Copy link
Owner

This should solve the issue. PEP with react.

If this doesn't then the bezier command function of this library must be changed. This function is in src/paths.js

@vinothpandian
Copy link
Owner

Updated this in the last version 5.0.1

Check whether this fixes your issue.

@vinothpandian
Copy link
Owner

Closed due to inactivity

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

2 participants