mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 12:34:52 +08:00
automatically change transformer on shape changes. close #391
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user