소스 검색

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)();
     };