multixy: draw labels above points
This commit is contained in:
parent
dbb9047dc6
commit
3ee351d6f3
2 changed files with 2 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ module.exports = class MultiXy extends Pad {
|
|||
length = this.fontSize * t.length
|
||||
|
||||
this.ctx.globalAlpha = 1
|
||||
this.ctx.fillStyle = this.colors.text
|
||||
this.ctx.fillStyle = this.pads[i].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 + 2 * PXSCALE]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue