浏览代码

Merge pull request #584 from arussell123/master

Prevent component controls collapsing when option is selected
David Sehnal 2 年之前
父节点
当前提交
7db82c5ba5
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/mol-plugin-ui/structure/components.tsx

+ 0 - 1
src/mol-plugin-ui/structure/components.tsx

@@ -280,7 +280,6 @@ class StructureComponentGroup extends PurePluginUIComponent<{ group: StructureCo
 
     selectAction: ActionMenu.OnSelect = item => {
         if (!item) return;
-        this.setState({ action: void 0 });
         (item?.value as any)();
     };