Merge remote-tracking branch 'origin/seijihariki/issue188' into manual-scripts

This commit is contained in:
tim h 2023-02-25 07:33:31 -06:00
commit 0b4618a789

View file

@ -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(