diff --git a/src/component/overlay.vue b/src/component/overlay.vue index 077ed168..93be28f7 100644 --- a/src/component/overlay.vue +++ b/src/component/overlay.vue @@ -561,8 +561,8 @@ // draw cursor tag const cursorTag = this.sessions[this.hostId]?.profile.name || '' if (cursorTag) { - const x = this.cursorImage.width - const y = this.cursorImage.height + x += this.cursorImage.width + y += this.cursorImage.height this._ctx.font = '14px Arial, sans-serif' this._ctx.textBaseline = 'top'