mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-03-13 16:33:28 -04:00
Correct view centering
Fixed bad centering when `view.center` and `view.zoom` are changed
This commit is contained in:
parent
66c491a8fd
commit
66547a4442
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue