automatically change transformer on shape changes. close #391

This commit is contained in:
Anton Lavrenov
2018-05-17 07:22:21 +09:00
parent 320ec87b2e
commit 74d3a12921
5 changed files with 47 additions and 9 deletions

View File

@@ -100,6 +100,8 @@ suite('Transformer', function() {
assert.equal(tr.y(), rect.y());
assert.equal(tr.width(), rect.width());
assert.equal(tr.height(), rect.height());
assert.equal(tr.findOne('.back').width(), rect.width());
console.log(tr);
});
test('add transformer for transformed rect', function() {