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

mol-plugin: remove passRepresentation from Highlight command

parent 144d40cd
No related branches found
No related tags found
No related merge requests found
...@@ -193,7 +193,7 @@ class StateTreeNodeLabel extends PluginUIComponent< ...@@ -193,7 +193,7 @@ class StateTreeNodeLabel extends PluginUIComponent<
highlight = (e: React.MouseEvent<HTMLElement>) => { highlight = (e: React.MouseEvent<HTMLElement>) => {
e.preventDefault(); e.preventDefault();
PluginCommands.State.Highlight.dispatch(this.plugin, { state: this.props.cell.parent, ref: this.ref, passRepresentation: true }); PluginCommands.State.Highlight.dispatch(this.plugin, { state: this.props.cell.parent, ref: this.ref });
e.currentTarget.blur(); e.currentTarget.blur();
} }
......
...@@ -26,7 +26,7 @@ export const PluginCommands = { ...@@ -26,7 +26,7 @@ export const PluginCommands = {
ToggleExpanded: PluginCommand<{ state: State, ref: StateTransform.Ref }>(), ToggleExpanded: PluginCommand<{ state: State, ref: StateTransform.Ref }>(),
ToggleVisibility: PluginCommand<{ state: State, ref: StateTransform.Ref }>(), ToggleVisibility: PluginCommand<{ state: State, ref: StateTransform.Ref }>(),
Highlight: PluginCommand<{ state: State, ref: StateTransform.Ref, passRepresentation?: boolean }>(), Highlight: PluginCommand<{ state: State, ref: StateTransform.Ref }>(),
ClearHighlight: PluginCommand<{ state: State, ref: StateTransform.Ref }>(), ClearHighlight: PluginCommand<{ state: State, ref: StateTransform.Ref }>(),
Snapshots: { Snapshots: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment