made a better fix for the mobile alternating drag and drop bug

This commit is contained in:
Eric Rowell
2012-06-14 20:29:07 -07:00
parent 9a5f9006b8
commit 838c719c0e
4 changed files with 36 additions and 12 deletions

View File

@@ -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);