mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
fix default cursor tag pos.
This commit is contained in:
parent
9fc2083e76
commit
9307fbea97
@ -561,8 +561,8 @@
|
|||||||
// draw cursor tag
|
// draw cursor tag
|
||||||
const cursorTag = this.sessions[this.hostId]?.profile.name || ''
|
const cursorTag = this.sessions[this.hostId]?.profile.name || ''
|
||||||
if (cursorTag) {
|
if (cursorTag) {
|
||||||
const x = this.cursorImage.width
|
x += this.cursorImage.width
|
||||||
const y = this.cursorImage.height
|
y += this.cursorImage.height
|
||||||
|
|
||||||
this._ctx.font = '14px Arial, sans-serif'
|
this._ctx.font = '14px Arial, sans-serif'
|
||||||
this._ctx.textBaseline = 'top'
|
this._ctx.textBaseline = 'top'
|
||||||
|
Loading…
Reference in New Issue
Block a user