|
@@ -120,7 +120,7 @@ export class Viewer {
|
|
|
...DefaultPluginSpec.layout && DefaultPluginSpec.layout.controls,
|
|
|
top: o.layoutShowSequence ? undefined : 'none',
|
|
|
bottom: o.layoutShowLog ? undefined : 'none',
|
|
|
- left: 'none',
|
|
|
+
|
|
|
right: ControlsWrapper,
|
|
|
}
|
|
|
},
|
|
@@ -160,6 +160,7 @@ export class Viewer {
|
|
|
};
|
|
|
|
|
|
this.plugin.init();
|
|
|
+ ReactDOM.render(React.createElement(Plugin, { plugin: this.plugin }), target);
|
|
|
|
|
|
const renderer = this.plugin.canvas3d!.props.renderer;
|
|
|
PluginCommands.Canvas3D.SetSettings(this.plugin, { settings: { renderer: { ...renderer, backgroundColor: o.backgroundColor } } });
|
|
@@ -167,7 +168,6 @@ export class Viewer {
|
|
|
this.plugin.representation.structure.themes.colorThemeRegistry.add(SuperposeColorThemeProvider);
|
|
|
|
|
|
|
|
|
- ReactDOM.render(React.createElement(Plugin, { plugin: this.plugin }), target);
|
|
|
|
|
|
|
|
|
|