mirror of
https://github.com/konvajs/konva.git
synced 2025-06-28 11:09:22 +08:00
add listening test
This commit is contained in:
parent
49218376e6
commit
0753569d0d
@ -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);
|
||||
});
|
||||
|
||||
// ======================================================
|
||||
|
Loading…
Reference in New Issue
Block a user