mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Shorten code a bit.
This commit is contained in:
parent
af24af8916
commit
142ee6fd8a
1 changed files with 1 additions and 2 deletions
|
@ -123,8 +123,7 @@ var Tool = PaperScopeItem.extend(/** @lends Tool# */{
|
|||
},
|
||||
|
||||
setFixedDistance: function(distance) {
|
||||
this._minDistance = distance;
|
||||
this._maxDistance = distance;
|
||||
this._minDistance = this._maxDistance = distance;
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue