new drawHitFromCache Shape method replaces Image createImageHitRegion

This commit is contained in:
Eric Rowell
2014-01-05 01:10:56 -08:00
parent fae1c538f3
commit 4d323c7b57
8 changed files with 136 additions and 159 deletions

View File

@@ -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();