Skip to content

Commit 164cbe3

Browse files
committed
expand configuration options
1 parent 1ba9b9a commit 164cbe3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/viewer/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,10 @@ const DefaultViewerProps = {
117117
layoutShowLog: false,
118118

119119
viewportShowExpand: true,
120+
viewportShowControls: true,
121+
viewportShowSettings: true,
120122
viewportShowSelectionMode: true,
123+
viewportShowTrajectoryControls: true,
121124
volumeStreamingServer: 'https://maps.rcsb.org/',
122125

123126
backgroundColor: ColorNames.white,
@@ -216,8 +219,11 @@ export class Viewer {
216219
},
217220
config: [
218221
[PluginConfig.Viewport.ShowExpand, o.viewportShowExpand],
222+
[PluginConfig.Viewport.ShowControls, o.viewportShowControls],
223+
[PluginConfig.Viewport.ShowSettings, o.viewportShowSettings],
219224
[PluginConfig.Viewport.ShowSelectionMode, o.viewportShowSelectionMode],
220225
[PluginConfig.Viewport.ShowAnimation, false],
226+
[PluginConfig.Viewport.ShowTrajectoryControls, o.viewportShowTrajectoryControls],
221227
[PluginConfig.VolumeStreaming.DefaultServer, o.volumeStreamingServer],
222228
[PluginConfig.Download.DefaultPdbProvider, 'rcsb'],
223229
[PluginConfig.Download.DefaultEmdbProvider, 'rcsb'],

0 commit comments

Comments
 (0)