Skip to content
Snippets Groups Projects
Commit 5d0447c9 authored by Alexander Rose's avatar Alexander Rose
Browse files

enable wboit by default

parent 9eba0b91
No related branches found
No related tags found
No related merge requests found
......@@ -50,14 +50,14 @@
var disableAntialiasing = getParam('disable-antialiasing', '[^&]+').trim() === '1';
var pixelScale = parseFloat(getParam('pixel-scale', '[^&]+').trim() || '1');
var enableWboit = getParam('enable-wboit', '[^&]+').trim() === '1';
var disableWboit = getParam('disable-wboit', '[^&]+').trim() === '1';
var hideControls = getParam('hide-controls', '[^&]+').trim() === '1';
var pdbProvider = getParam('pdb-provider', '[^&]+').trim().toLowerCase();
var emdbProvider = getParam('emdb-provider', '[^&]+').trim().toLowerCase();
var viewer = new molstar.Viewer('app', {
disableAntialiasing: disableAntialiasing,
pixelScale: pixelScale,
enableWboit: enableWboit,
enableWboit: !disableWboit,
layoutShowControls: !hideControls,
viewportShowExpand: false,
pdbProvider: pdbProvider || 'pdbe',
......
......@@ -69,7 +69,7 @@ const DefaultViewerOptions = {
layoutShowLeftPanel: true,
disableAntialiasing: false,
pixelScale: 1,
enableWboit: false,
enableWboit: true,
viewportShowExpand: PluginConfig.Viewport.ShowExpand.defaultValue,
viewportShowControls: PluginConfig.Viewport.ShowControls.defaultValue,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment