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

fixed seq widget update on object change

parent e226f270
Branches
No related tags found
No related merge requests found
...@@ -140,7 +140,7 @@ export class SequenceView extends PluginUIComponent<{ }, SequenceViewState> { ...@@ -140,7 +140,7 @@ export class SequenceView extends PluginUIComponent<{ }, SequenceViewState> {
this.subscribe(this.plugin.events.state.object.updated, ({ ref, state }) => { this.subscribe(this.plugin.events.state.object.updated, ({ ref, state }) => {
const current = this.spine.current; const current = this.spine.current;
if (!current || current.sourceRef !== ref || current.state !== state) return; if (!current || current.sourceRef !== ref) return;
this.setState(this.getInitialState()) this.setState(this.getInitialState())
}); });
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment