mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Lint
This commit is contained in:
parent
bddabdbac6
commit
0a18ce7287
1 changed files with 16 additions and 17 deletions
|
@ -412,7 +412,7 @@ class Scratch3PenBlocks {
|
|||
* @private
|
||||
*/
|
||||
_updatePenColor (penState) {
|
||||
let rgb = Color.hsvToRgb({
|
||||
const rgb = Color.hsvToRgb({
|
||||
h: penState.color * 360 / 100,
|
||||
s: penState.saturation / 100,
|
||||
v: penState.brightness / 100
|
||||
|
@ -447,7 +447,6 @@ class Scratch3PenBlocks {
|
|||
break;
|
||||
default:
|
||||
log.warn(`Tried to set or change unknown color parameter: ${param}`);
|
||||
|
||||
}
|
||||
this._updatePenColor(penState);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue