|
@@ -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'
|