mirror of
https://github.com/konvajs/konva.git
synced 2025-11-18 17:17:49 +08:00
made a better fix for the mobile alternating drag and drop bug
This commit is contained in:
@@ -1310,6 +1310,7 @@ Test.prototype.tests = {
|
||||
//log('not dragging yet after draggable, isDragging: ' + circle.isDragging());
|
||||
test(circle.isDragging() === false, 'isDragging() should be false');
|
||||
|
||||
/*
|
||||
circle.on('dragstart', function() {
|
||||
log('dragstart, isDragging: ' + this.isDragging());
|
||||
test(circle.isDragging() === true, 'isDragging() should be true');
|
||||
@@ -1324,6 +1325,7 @@ Test.prototype.tests = {
|
||||
log('dragend, isDragging: ' + this.isDragging());
|
||||
test(circle.isDragging() === false, 'isDragging() should be false');
|
||||
});
|
||||
*/
|
||||
|
||||
layer.add(circle);
|
||||
stage.add(layer);
|
||||
|
||||
Reference in New Issue
Block a user