multixy: fix drawing glitch with some letters in points' labels (e.g. "j")
This commit is contained in:
parent
695b7c75d8
commit
c9817de91f
2 changed files with 2 additions and 1 deletions
|
|
@ -215,7 +215,7 @@ module.exports = class MultiXy extends Pad {
|
|||
this.ctx.fillStyle = this.colors.text
|
||||
this.ctx.fillText(t, x + 0.5 * PXSCALE, y + 0.5 * PXSCALE)
|
||||
|
||||
this.clearRect[i] = [x - length / 2, y - this.fontSize / 2, length, this.fontSize]
|
||||
this.clearRect[i] = [x - length / 2, y - this.fontSize / 2, length, this.fontSize + 2 * PXSCALE]
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue