Second Signature pad is stretched horizontally #832
Replies: 1 comment
-
Nevermind... I discovered the resize block that was still expecting only one signature. New code: function resizeCanvas() { |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a page with two signature pads. The first one works as it should. The second one, works, but it is doubling the X component of where I'm actually drawing it. E.g. If my cursor is at X = 50, line is drawn at X = 100. If cursor is at X = 200, line is drawn at X = 400. The pads are instantiated using the same logic so I'm a bit stumped here. Even upgraded to latest version but still happening. Here is my code:
In the image XA and XB were roughly drawn in the same positions on their respective canvas.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions