diff --git a/examples/Tools/PathEditing.html b/examples/Tools/PathEditing.html index 247962d0..3a27d52c 100644 --- a/examples/Tools/PathEditing.html +++ b/examples/Tools/PathEditing.html @@ -30,7 +30,8 @@ var lightness = (Math.random() - 0.5) * 0.4 + 0.4; var hue = Math.random() * 360; path.style = { - fillColor: new HSLColor(hue, 1, lightness) + fillColor: new HSLColor(hue, 1, lightness), + strokeColor: 'black' }; }; diff --git a/src/tool/Tool.js b/src/tool/Tool.js index 5051134a..a701ccc1 100644 --- a/src/tool/Tool.js +++ b/src/tool/Tool.js @@ -54,8 +54,6 @@ var Tool = this.Tool = Base.extend(/** @lends Tool# */{ this._firstMove = true; this._count = 0; this._downCount = 0; - for (var i in handlers) - this[i] = handlers[i]; }, /**