Merge pull request #169 from a-puzo/master

Fixed bad centering when `view.center` and `view.zoom` are changed
This commit is contained in:
Jürg Lehni 2013-02-14 19:30:26 -08:00
commit 80638372b6

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;