Shorten code a bit.

This commit is contained in:
Jürg Lehni 2015-08-21 17:42:33 +02:00
parent af24af8916
commit 142ee6fd8a

View file

@ -123,8 +123,7 @@ var Tool = PaperScopeItem.extend(/** @lends Tool# */{
},
setFixedDistance: function(distance) {
this._minDistance = distance;
this._maxDistance = distance;
this._minDistance = this._maxDistance = distance;
},
/**