mirror of
https://github.com/konvajs/konva.git
synced 2026-01-23 21:34:50 +08:00
cleaned up isListening API. introduced new enableHitGraph config that can be used to disable the hit graph
This commit is contained in:
@@ -24,6 +24,13 @@ suite('DragAndDrop', function() {
|
||||
//change properties
|
||||
circle.setDraggable(true);
|
||||
|
||||
|
||||
//circle.on('click', function(){});
|
||||
|
||||
layer.draw();
|
||||
|
||||
showHit(layer);
|
||||
|
||||
// test new properties
|
||||
assert.equal(circle.getDraggable(), true);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user