simplajs / simpla-img

An editable image you can update inline, built on Simpla
https://www.simplajs.org
MIT License
6 stars 3 forks source link

Only preventDefault on touch down when editable #33

Closed bedeoverend closed 8 years ago

bedeoverend commented 8 years ago

The canvas would preventDefault event on any touch events on the image. This PR fixes it so that it only prevents default when in edit mode.

bedeoverend commented 8 years ago

Tests here aren't any different from fails on master