Fixed preview button drag on touch screen

This commit is contained in:
benweet 2014-08-31 18:37:00 +01:00
parent 3381f17330
commit 4b21446de6

View File

@ -551,8 +551,9 @@ define([
var buttonsInitialCoord;
previewButtons.hammer.on('dragstart', function() {
previewButtons.isOpen = true;
previewButtons.isDragged = true;
previewButtons.$elt.removeClass('animate');
previewButtons.$elt.removeClass('closed animate');
wrapperL2.$elt.addClass('dragging');
buttonsInitialCoord = {
x: previewButtons.x,