David Sehnal 5 年 前
コミット
7d3e849ff3
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/mol-plugin-state/manager/structure/component.ts

+ 1 - 1
src/mol-plugin-state/manager/structure/component.ts

@@ -289,7 +289,7 @@ class StructureComponentManager extends PluginComponent<StructureComponentManage
                 if (s.currentFocus.surroundings) deletes.delete(s.currentFocus.surroundings.cell.transform.ref);
             }
         }
-        return this.plugin.runTask(this.dataState.updateTree(deletes));
+        return this.plugin.runTask(this.dataState.updateTree(deletes, { canUndo: true }));
     }
 
     constructor(public plugin: PluginContext) {