Closed imjosecampos-zz closed 8 years ago
Also to improve the sliding part of this component the call to attemptMove can be changed to mouse down by changing line 103 to:
'mousedown .slidingPuzzle-puzzle': 'attemptMove',
Hi @jscampos - thanks for the suggestions! If you submit these changes as a pull request, I'll happily review and merge.
Done.
Most users are lazy and generally know what to do with a sliding puzzle which is, as the name says, to slide which right now causes the whole image to be dragged which looks bad, this can be fixed by adding:
img.attr('draggable', 'false');
After line 53 of adapt-slidingPuzzle.js