Skip to content
Snippets Groups Projects
Commit 56cec343 authored by David Sehnal's avatar David Sehnal
Browse files

Proteopedia wrapper fix

parent 20c9bd01
No related branches found
No related tags found
No related merge requests found
== v3.4 ==
* Fixed HET group reset.
* Updated core.
* Removed Camera Cliping.
== v3.3 == == v3.3 ==
* Camera Clipping. * Camera Clipping.
......
...@@ -133,8 +133,8 @@ ...@@ -133,8 +133,8 @@
addControl('Reset Position', () => PluginWrapper.camera.resetPosition()); addControl('Reset Position', () => PluginWrapper.camera.resetPosition());
addControl('Toggle Spin', () => PluginWrapper.camera.toggleSpin()); addControl('Toggle Spin', () => PluginWrapper.camera.toggleSpin());
// Same as "wheel icon" and Viewport options // Same as "wheel icon" and Viewport options
addControl('Clip', () => PluginWrapper.viewport.setSettings({ clip: [33, 66] })); // addControl('Clip', () => PluginWrapper.viewport.setSettings({ clip: [33, 66] }));
addControl('Reset Clip', () => PluginWrapper.viewport.setSettings({ clip: [1, 100] })); // addControl('Reset Clip', () => PluginWrapper.viewport.setSettings({ clip: [1, 100] }));
addSeparator(); addSeparator();
......
...@@ -37,7 +37,7 @@ require('../../mol-plugin/skin/light.scss') ...@@ -37,7 +37,7 @@ require('../../mol-plugin/skin/light.scss')
class MolStarProteopediaWrapper { class MolStarProteopediaWrapper {
static VERSION_MAJOR = 3; static VERSION_MAJOR = 3;
static VERSION_MINOR = 3; static VERSION_MINOR = 4;
private _ev = RxEventHelper.create(); private _ev = RxEventHelper.create();
...@@ -335,7 +335,7 @@ class MolStarProteopediaWrapper { ...@@ -335,7 +335,7 @@ class MolStarProteopediaWrapper {
hetGroups = { hetGroups = {
reset: () => { reset: () => {
const update = this.state.build().delete(StateElements.HetGroupFocus); const update = this.state.build().delete(StateElements.HetGroupFocusGroup);
PluginCommands.State.Update.dispatch(this.plugin, { state: this.state, tree: update }); PluginCommands.State.Update.dispatch(this.plugin, { state: this.state, tree: update });
PluginCommands.Camera.Reset.dispatch(this.plugin, { }); PluginCommands.Camera.Reset.dispatch(this.plugin, { });
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment