diff --git a/frontend/webEditor/src/diagram/nodes/annotation.ts b/frontend/webEditor/src/diagram/nodes/annotation.ts index a0d5e002..02b0f515 100644 --- a/frontend/webEditor/src/diagram/nodes/annotation.ts +++ b/frontend/webEditor/src/diagram/nodes/annotation.ts @@ -31,6 +31,7 @@ export class DfdNodeAnnotationUIMouseListener extends MouseListener { clearTimeout(this.stillTimeout); this.stillTimeout = undefined; } + this.lastTarget = undefined; return this.hidePopup(); } this.lastPosition = { x: event.clientX, y: event.clientY };