mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Fix View#bounds for zoom levels other than 1.
This commit is contained in:
parent
7c2fabd6a1
commit
a081419a8b
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ var View = this.View = PaperScopeItem.extend(/** @lends View# */{
|
|||
*/
|
||||
getBounds: function() {
|
||||
if (!this._bounds)
|
||||
this._bounds = this._matrix._transformBounds(
|
||||
this._bounds = this._getInverse()._transformBounds(
|
||||
new Rectangle(new Point(), this._viewSize));
|
||||
return this._bounds;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue