mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-08-14 06:59:06 -04:00
Fix accidental leaking of variables to the global scope.
Found using jscritic.com
This commit is contained in:
parent
8c45786759
commit
01dbfe705c
6 changed files with 8 additions and 9 deletions
src/project
|
@ -444,7 +444,7 @@ var Project = PaperScopeItem.extend(/** @lends Project# */{
|
|||
for (var id in this._selectedItems) {
|
||||
var item = this._selectedItems[id],
|
||||
globalMatrix = item._globalMatrix,
|
||||
size = this._scope.settings.handleSize;
|
||||
size = this._scope.settings.handleSize,
|
||||
half = size / 2;
|
||||
if (item._updateVersion === this._updateVersion
|
||||
&& (item._drawSelected || item._boundsSelected)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue