fader: fix very weird glitch when initial zoom != 1
This commit is contained in:
parent
92903c45bc
commit
02c01aa80c
1 changed files with 2 additions and 2 deletions
|
|
@ -239,8 +239,8 @@ module.exports = class Fader extends _sliders_base {
|
|||
this.ctx.beginPath()
|
||||
this.ctx.globalAlpha = 1
|
||||
this.ctx.strokeStyle = this.colors.bg
|
||||
this.ctx.moveTo(m, this.margin * PXSCALE - PXSCALE)
|
||||
this.ctx.lineTo(m, height - this.margin * PXSCALE + PXSCALE)
|
||||
this.ctx.moveTo(m, this.margin * PXSCALE - 1 * PXSCALE)
|
||||
this.ctx.lineTo(m, height - this.margin * PXSCALE + 1 * PXSCALE)
|
||||
this.ctx.stroke()
|
||||
|
||||
this.ctx.lineWidth = 2 * PXSCALE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue