Correct view centering

Fixed bad centering when `view.center` and `view.zoom` are changed
This commit is contained in:
a-puzo 2013-02-13 06:35:19 +04:00
parent 66c491a8fd
commit 66547a4442

View file

@ -244,7 +244,7 @@ var View = this.View = Base.extend(Callback, /** @lends View# */{
},
_transform: function(matrix) {
this._matrix.preConcatenate(matrix);
this._matrix.concatenate(matrix);
// Force recalculation of these values next time they are requested.
this._bounds = null;
this._inverse = null;