mirror of
https://github.com/konvajs/konva.git
synced 2025-10-08 00:14:23 +08:00
add listening test
This commit is contained in:
@@ -515,6 +515,12 @@ suite('Stage', function () {
|
||||
'greenCircle',
|
||||
'16) second intersection should be greenCircle'
|
||||
);
|
||||
|
||||
// now hide layer and but force visible for shape.
|
||||
|
||||
layer.hide();
|
||||
redCircle.visible(true);
|
||||
assert.equal(stage.getAllIntersections(redCircle.position()).length, 0);
|
||||
});
|
||||
|
||||
// ======================================================
|
||||
|
Reference in New Issue
Block a user