From 9307fbea974f808aed8dcf454d6e597743b44781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Sat, 22 Oct 2022 16:37:44 +0200 Subject: [PATCH] fix default cursor tag pos. --- src/component/overlay.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'