添加生产导出log, 画布图层工具图层顺序问题
This commit is contained in:
@@ -2059,7 +2059,7 @@ export class LayerObjectsToGroupCommand extends Command {
|
||||
}
|
||||
|
||||
try {
|
||||
await optimizeCanvasRendering(this.canvas, () => {
|
||||
await optimizeCanvasRendering(this.canvas, async () => {
|
||||
if (existingGroup) {
|
||||
// 向现有组添加对象
|
||||
this._addObjectsToExistingGroup(existingGroup, newObjectsToAdd);
|
||||
@@ -2070,8 +2070,8 @@ export class LayerObjectsToGroupCommand extends Command {
|
||||
this._createNewGroupWithAllObjects(newObjectsToAdd);
|
||||
this.groupObjectId = this.newGroupId;
|
||||
this.wasGroupCreated = true;
|
||||
await this.layerManager?.layerSort?.rearrangeObjects();
|
||||
}
|
||||
|
||||
// 更新交互性
|
||||
this.layerManager?.updateLayersObjectsInteractivity?.(false).then(()=>{
|
||||
// 更新缩略图
|
||||
|
||||
Reference in New Issue
Block a user