diff --git a/packages/ketcher-react/src/script/editor/tool/atom.ts b/packages/ketcher-react/src/script/editor/tool/atom.ts index 754722e457..451b8f9796 100644 --- a/packages/ketcher-react/src/script/editor/tool/atom.ts +++ b/packages/ketcher-react/src/script/editor/tool/atom.ts @@ -135,10 +135,10 @@ class AtomTool { } mousemove(event) { - this.editor.hoverIcon.show() const rnd = this.editor.render if (!this.dragCtx || !this.dragCtx.item) { + this.editor.hoverIcon.show() this.editor.hoverIcon.updatePosition() this.editor.hover( @@ -147,6 +147,8 @@ class AtomTool { event ) return + } else { + this.editor.hoverIcon.hide() } const dragCtx = this.dragCtx