mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 12:34:52 +08:00
cache + pixelRatio
This commit is contained in:
@@ -505,7 +505,8 @@ suite('Stage', function() {
|
||||
clientY: clientY
|
||||
});
|
||||
Konva.DD._endDragAfter({dragEndNode:rect});
|
||||
|
||||
assert.equal(Konva.isDragging(), false);
|
||||
assert.equal(Konva.DD.node, undefined);
|
||||
// simulate click
|
||||
stage._mousedown({
|
||||
clientX: 66,
|
||||
@@ -516,5 +517,8 @@ suite('Stage', function() {
|
||||
clientX: 66,
|
||||
clientY: clientY
|
||||
});
|
||||
})
|
||||
Konva.DD._endDragBefore({dragEndNode:rect});
|
||||
assert.equal(Konva.isDragging(), false);
|
||||
assert.equal(Konva.DD.node, undefined);
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user