slider: fix pips initial font weight

This commit is contained in:
bordun 2020-05-15 14:35:21 +02:00
parent 2bcd0e7008
commit 7a695343de
2 changed files with 2 additions and 2 deletions

View file

@ -335,7 +335,7 @@ module.exports = class Fader extends Slider {
preserveDrawingBuffer: true
})
ctx.font = this.ctx.font
ctx.font = this.fontWeight + ' ' + this.fontSize + 'px ' + this.fontFamily
ctx.textBaseline = this.ctx.textBaseline
ctx.textAlign = this.ctx.textAlign