Merge remote-tracking branch 'origin/seijihariki/issue188' into manual-scripts
This commit is contained in:
commit
0b4618a789
1 changed files with 6 additions and 1 deletions
|
@ -25,7 +25,12 @@ const _color_brush_erase_callback = (evn, state, ctx) => {
|
|||
ctx.save();
|
||||
ctx.strokeStyle = "black";
|
||||
|
||||
ctx.filter = "blur(" + state.brushBlur + "px)";
|
||||
ctx.filter =
|
||||
"blur(" +
|
||||
state.brushBlur +
|
||||
"px) opacity(" +
|
||||
state.brushOpacity * 100 +
|
||||
"%)";
|
||||
ctx.lineWidth = state.brushSize;
|
||||
ctx.beginPath();
|
||||
ctx.moveTo(
|
||||
|
|
Loading…
Reference in a new issue