mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-08-28 22:08:54 -04:00
Merge pull request #169 from a-puzo/master
Fixed bad centering when `view.center` and `view.zoom` are changed
This commit is contained in:
commit
80638372b6
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…
Add table
Add a link
Reference in a new issue