Update src/extensions/scratch3_pen/index.js

Co-Authored-By: apple502j <33279053+apple502j@users.noreply.github.com>
This commit is contained in:
Chris Willis-Ford 2019-02-08 20:03:48 +09:00 committed by GitHub
parent 7863731bb4
commit 2d575a9208
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -675,7 +675,6 @@ class Scratch3PenBlocks {
const hueValue = Cast.toNumber(args.HUE);
const colorValue = hueValue / 2;
this._setOrChangeColorParam(ColorParam.COLOR, colorValue, penState, false);
penState = this._getPenState(util.target);
this._setOrChangeColorParam(ColorParam.TRANSPARENCY, 0, penState, false);
this._legacyUpdatePenColor(penState);
}