Skip to content

Commit

Permalink
#1822: fix hover icon
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstantinEpam committed Dec 12, 2022
1 parent 2863e94 commit afbc177
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/ketcher-react/src/script/editor/tool/atom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,14 @@ class AtomTool {
}
}

mouseleave() {
this.editor.hoverIcon.hide()
}

mouseover() {
this.editor.hoverIcon.show()
}

mousemove(event) {
const rnd = this.editor.render
const { layerX, layerY } = event
Expand Down

0 comments on commit afbc177

Please sign in to comment.