Skip to content

Commit

Permalink
Update Editor.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jfhenon committed Sep 18, 2023
1 parent 293f8e1 commit f635706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editor/Editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ class Editor extends EditorStartup {
const isNode = mode === 'pathedit'
// if this.elems[1] is present, then we have more than one element
this.selectedElement = elems.length === 1 || !elems[1] ? elems[0] : null
this.multiselected = elems.length >= 2 && elems[1]
this.multiselected = elems.length >= 2 && !!elems[1]
if (this.selectedElement && !isNode) {
this.topPanel.update()
} // if (elem)
Expand Down

0 comments on commit f635706

Please sign in to comment.