mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -05:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
b6c684c1b4
2 changed files with 2 additions and 3 deletions
|
@ -30,7 +30,8 @@
|
||||||
var lightness = (Math.random() - 0.5) * 0.4 + 0.4;
|
var lightness = (Math.random() - 0.5) * 0.4 + 0.4;
|
||||||
var hue = Math.random() * 360;
|
var hue = Math.random() * 360;
|
||||||
path.style = {
|
path.style = {
|
||||||
fillColor: new HSLColor(hue, 1, lightness)
|
fillColor: new HSLColor(hue, 1, lightness),
|
||||||
|
strokeColor: 'black'
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -54,8 +54,6 @@ var Tool = this.Tool = Base.extend(/** @lends Tool# */{
|
||||||
this._firstMove = true;
|
this._firstMove = true;
|
||||||
this._count = 0;
|
this._count = 0;
|
||||||
this._downCount = 0;
|
this._downCount = 0;
|
||||||
for (var i in handlers)
|
|
||||||
this[i] = handlers[i];
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue