فهرست منبع

Issue #805: reverted MolstarManagerFactory.ts

cycle20 1 سال پیش
والد
کامیت
d08261f98f
1فایلهای تغییر یافته به همراه2 افزوده شده و 4 حذف شده
  1. 2 4
      src/RcsbFvStructure/StructureViewers/MolstarViewer/MolstarManagerFactory.ts

+ 2 - 4
src/RcsbFvStructure/StructureViewers/MolstarViewer/MolstarManagerFactory.ts

@@ -1,7 +1,6 @@
 import {ViewerManagerFactoryInterface} from "../../StructureViewerInterface";
 import {LoadMolstarInterface, MolstarActionManager} from "./MolstarActionManager";
-import { ViewerProps} from "@rcsb/rcsb-molstar/build/src/viewer";
-import { TmViewer } from "../../../examples/assembly-tm/tmdet-viewer/TmViewer";
+import {Viewer, ViewerProps} from "@rcsb/rcsb-molstar/build/src/viewer";
 import {MolstarModelMapManager} from "./MolstarModelMapManager";
 import {MolstarCallbackManager} from "./MolstarCallbackManager";
 import {DataContainer} from "../../../Utils/DataContainer";
@@ -19,11 +18,10 @@ export class MolstarManagerFactory<P,L> implements ViewerManagerFactoryInterface
         const loadingFlag: DataContainer<boolean> = new DataContainer(false);
         const innerSelectionFlag: DataContainer<boolean> = new DataContainer(false);
         const innerReprChangeFlag: DataContainer<boolean> = new DataContainer(false);
-        const viewer = new TmViewer(viewerParams.viewerElement, {
+        const viewer = new Viewer(viewerParams.viewerElement, {
             ...viewerParams.viewerProps,
             layoutShowControls:false,
             layoutShowSequence: true,
-            showWelcomeToast: false,
             canvas3d: {
                 multiSample: {
                     mode: 'off'