mirror of
https://github.com/konvajs/konva.git
synced 2025-09-19 02:37:59 +08:00
new drawHitFromCache Shape method replaces Image createImageHitRegion
This commit is contained in:
@@ -2929,11 +2929,7 @@ suite('Node', function() {
|
||||
|
||||
assert.notEqual(circle._cache.canvas.scene, undefined);
|
||||
assert.notEqual(circle._cache.canvas.hit, undefined);
|
||||
assert.equal(circle._cache.canvas.x, -74);
|
||||
assert.equal(circle._cache.canvas.y, -74);
|
||||
|
||||
|
||||
|
||||
layer.draw();
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user