Skip to content
Snippets Groups Projects
Commit 25ace71e authored by Michal Malý's avatar Michal Malý
Browse files

ReDNATCO plugin stage 17

parent f56b4412
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,7 @@ import { Location } from '../../mol-model/structure/structure/element/location';
import { MmcifFormat } from '../../mol-model-formats/structure/mmcif';
import { PluginBehavior, PluginBehaviors } from '../../mol-plugin/behavior';
import { PluginCommands } from '../../mol-plugin/commands';
import { PluginConfig } from '../../mol-plugin/config';
import { PluginContext } from '../../mol-plugin/context';
import { PluginSpec } from '../../mol-plugin/spec';
import { LociLabel } from '../../mol-plugin-state/manager/loci-label';
......@@ -502,8 +503,16 @@ export class ReDNATCOMspViewer {
initial: {
isExpanded: false,
showControls: false,
}
},
},
config: [
[PluginConfig.Viewport.ShowExpand, false],
[PluginConfig.Viewport.ShowControls, false],
[PluginConfig.Viewport.ShowSettings, false],
[PluginConfig.Viewport.ShowTrajectoryControls, false],
[PluginConfig.Viewport.ShowAnimation, false],
[PluginConfig.Viewport.ShowSelectionMode, false],
]
};
const plugin = await createPluginUI(target, spec);
......
......@@ -261,7 +261,7 @@ export class StructureSelectionActionsControls extends PluginUIComponent<{}, Str
}
return <>
<div className='msp-flex-row' style={{ background: 'none' }}>
<div className='msp-flex-row' style={{ background: 'none', display: 'none' }}>
<PureSelectControl title={`Picking Level for selecting and highlighting`} param={StructureSelectionParams.granularity} name='granularity' value={granularity} onChange={this.setGranuality} isDisabled={this.isDisabled} />
<ToggleButton icon={UnionSvg} title={`${ActionHeader.get('add')}. Hold shift key to keep menu open.`} toggle={this.toggleAdd} isSelected={this.state.action === 'add'} disabled={this.isDisabled} />
<ToggleButton icon={SubtractSvg} title={`${ActionHeader.get('remove')}. Hold shift key to keep menu open.`} toggle={this.toggleRemove} isSelected={this.state.action === 'remove'} disabled={this.isDisabled} />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment