mirror of
https://github.com/konvajs/konva.git
synced 2025-11-24 08:46:44 +08:00
refactor
This commit is contained in:
@@ -855,10 +855,10 @@ suite('Shape', function() {
|
||||
strokeWidth: 20
|
||||
});
|
||||
// default value
|
||||
assert.equal(rect.strokeHit(), true);
|
||||
assert.equal(rect.strokeHitEnabled(), true);
|
||||
|
||||
rect.strokeHit(false);
|
||||
assert.equal(rect.strokeHit(), false);
|
||||
rect.strokeHitEnabled(false);
|
||||
assert.equal(rect.strokeHitEnabled(), false);
|
||||
layer.add(rect);
|
||||
stage.add(layer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user