Drawing starts a few pixels below the mouse pointer

0 Answers 64 Views
Drawer General Discussions
Pranav
Top achievements
Rank 1
Pranav asked on 29 Mar 2022, 07:06 AM

https://stackblitz.com/edit/ka-draw-signature-fy3eep?file=app%2Fapp.component.ts

I have been using the above given code to create a signature pad for the web application I am working on. Although the code works fine when used alone, when used in my application, the line starts a few pixels above the mouse pointer when it is used. Any help will be much appreciated.

 

No answers yet. Maybe you can help?

Tags
Drawer General Discussions
Asked by
Pranav
Top achievements
Rank 1
Share this question
or