Fixed preview button drag on touch screen
This commit is contained in:
parent
3381f17330
commit
4b21446de6
@ -551,8 +551,9 @@ define([
|
|||||||
|
|
||||||
var buttonsInitialCoord;
|
var buttonsInitialCoord;
|
||||||
previewButtons.hammer.on('dragstart', function() {
|
previewButtons.hammer.on('dragstart', function() {
|
||||||
|
previewButtons.isOpen = true;
|
||||||
previewButtons.isDragged = true;
|
previewButtons.isDragged = true;
|
||||||
previewButtons.$elt.removeClass('animate');
|
previewButtons.$elt.removeClass('closed animate');
|
||||||
wrapperL2.$elt.addClass('dragging');
|
wrapperL2.$elt.addClass('dragging');
|
||||||
buttonsInitialCoord = {
|
buttonsInitialCoord = {
|
||||||
x: previewButtons.x,
|
x: previewButtons.x,
|
||||||
|
Loading…
Reference in New Issue
Block a user