深度画布智能选区
This commit is contained in:
@@ -730,8 +730,10 @@ export class CanvasEventManager {
|
||||
});
|
||||
this.canvas.on("object:modified", async (e) => {
|
||||
// updateLayers(e);
|
||||
const id = e.target?.info?.id;
|
||||
const target = e.target;
|
||||
const id = target?.info?.id;
|
||||
if (id) await this.layerManager.updateLayerThumbnailsById(id)
|
||||
if (target.type === "group") await this.canvasManager.updateSubLayerClipPath()
|
||||
this.stateManager.recordState();
|
||||
});
|
||||
this.canvas.on("object:removed", (e) => {
|
||||
|
||||
Reference in New Issue
Block a user