mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-07-21 21:01:24 +08:00
stacking
This commit is contained in:
parent
f4693f9eea
commit
2cd1657ebc
@ -543,6 +543,13 @@ class ForgeCanvas {
|
||||
}
|
||||
|
||||
if (this.scribbleSoftness <= 0) {
|
||||
ctx.save();
|
||||
ctx.globalCompositeOperation = "destination-out";
|
||||
ctx.globalAlpha = 1.0;
|
||||
ctx.stroke();
|
||||
ctx.restore();
|
||||
|
||||
ctx.globalCompositeOperation = "source-over";
|
||||
ctx.globalAlpha = drawingAlpha / 100.0;
|
||||
ctx.stroke();
|
||||
return;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user