fix default cursor tag pos.

This commit is contained in:
Miroslav Šedivý 2022-10-22 16:37:44 +02:00
parent 9fc2083e76
commit 9307fbea97

View File

@ -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'