深度画布缩略图
This commit is contained in:
@@ -728,14 +728,14 @@ export class CanvasEventManager {
|
||||
// console.log("object:skewing", e);
|
||||
updateLayers(e);
|
||||
});
|
||||
this.canvas.on("object:modified", (e) => {
|
||||
this.canvas.on("object:modified", async (e) => {
|
||||
updateLayers(e);
|
||||
const id = e.target?.info?.id;
|
||||
if (id) await this.layerManager.updateLayerThumbnailsById(id)
|
||||
this.stateManager.recordState();
|
||||
this.layerManager.updateLayerThumbnailsById(e.target.info.id);
|
||||
});
|
||||
this.canvas.on("object:removed", (e) => {
|
||||
updateLayers(e);
|
||||
this.stateManager.recordState();
|
||||
});
|
||||
}
|
||||
setupDoubleClickEvents() {
|
||||
|
||||
Reference in New Issue
Block a user