[Sketch] iPad/iPhone Compatibility

[Sketch] iPad/iPhone Compatibility

  
Forge Component
(10)
Published on 2014-08-04 by Carlos Rocha
10 votes
Published on 2014-08-04 by Carlos Rocha
Hi Carlos!
That's a good one!

I've installed and tested and it works perfectly on desktop. However, when I went to test it in iPhone/iPad, once I draw something, when I try to draw something else, the one that I've just drawn disapears.

The workaround for this issue is posted on that link.
We just have to change the javascript as:
case 'touchstart':
    if (this.painting) {
        this.stopPainting();
    }
    this.startPainting();
    break;
Now it works perfectly on iPad or iPhone ;)