Skip to content

Commit

Permalink
#1954 – fixed tooltip appearance after adding functional group to canvas
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitvex committed Mar 9, 2023
1 parent e0c3960 commit cf3fb46
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/ketcher-react/src/script/editor/tool/template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,7 @@ class TemplateTool {
const skip = getIgnoredGroupItem(this.editor.struct(), pasteItems)
const ci = this.editor.findItem(event, this.findItems, skip)

if (ci) {
this.editor.hover(ci)
} else {
this.editor.hover(null)
}
this.editor.hover(ci ?? null, null, event)
} else {
this.mergeItems = getMergeItems(this.editor, pasteItems)
this.editor.hover(getHoverToFuse(this.mergeItems))
Expand Down

0 comments on commit cf3fb46

Please sign in to comment.