画布印花合成
This commit is contained in:
@@ -4499,6 +4499,8 @@ export class SetColorLayerFillCommand extends Command {
|
||||
this.layer = this.layerManager?.getLayerById(this.object.layerId);
|
||||
this.newFill = options.newFill;
|
||||
this.oldFill = JSON.parse(JSON.stringify(this.object.fill));
|
||||
this.layer.blendMode = "multiply";
|
||||
this.object.set("globalCompositeOperation", "multiply");
|
||||
}
|
||||
|
||||
async execute(isUndo = false) {
|
||||
|
||||
Reference in New Issue
Block a user