Setting a matrix on an item with #transformContent = true should immediately apply it.

This commit is contained in:
Jürg Lehni 2013-11-04 11:43:17 +01:00
parent 73fe0899ae
commit d6be004ee6

View file

@ -780,6 +780,8 @@ var Item = Base.extend(Callback, /** @lends Item# */{
setMatrix: function(matrix) {
// Use Matrix#initialize to easily copy over values.
this._matrix.initialize(matrix);
if (this._transformContent)
this.applyMatrix(true);
this._changed(/*#=*/ Change.GEOMETRY);
},