Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49169

SignaturePad and canvas

$
0
0

@Sebastianor wrote:

Hello. I create simply canvas view with Signature Pad from (https://github.com/szimek/signature_pad). I would like to zooming the canvas. The problem is when I change the zoom, signature pad reads wrong position of my finger and draw line in another place.
Here's my html code
<ion-scroll zooming="true" id="myCanvas" min-zoom="0.5" max-zoom="2" direction="xy" delegate-handle="canvas" overflow-scroll="false" style="width: 90%; display: block; margin: 0 auto; max-width: 1240px; border: 1px solid black; background-color: #fff;">
<canvas height="1754" width="1240" id='signatureCanvas'></canvas>
</ion-scroll>

Thanks for help.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49169

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>