mirror of
https://github.com/konvajs/konva.git
synced 2025-10-08 00:14:23 +08:00
update deps, change defualt dragDistance to 3px
This commit is contained in:
@@ -1712,7 +1712,7 @@ suite('Node', function() {
|
||||
layer.add(rect1).add(group);
|
||||
stage.add(layer);
|
||||
|
||||
assert.equal(rect1.dragDistance(), 0);
|
||||
assert.equal(rect1.dragDistance(), Konva.dragDistance);
|
||||
assert.equal(group.dragDistance(), 2);
|
||||
assert.equal(rect2.dragDistance(), 2);
|
||||
});
|
||||
|
Reference in New Issue
Block a user