fader: fix compact gauge width (add 1px since the middle coordinate is rounded, we wanna be sure to fill the whole space)
This commit is contained in:
parent
9413247809
commit
3da297bf71
1 changed files with 2 additions and 2 deletions
|
|
@ -171,7 +171,7 @@ Fader.prototype.draw = function(){
|
|||
this.ctx.beginPath()
|
||||
this.ctx.moveTo(d, m)
|
||||
this.ctx.lineTo(o, m)
|
||||
this.ctx.lineWidth = this.height
|
||||
this.ctx.lineWidth = this.height + 1
|
||||
this.ctx.stroke()
|
||||
|
||||
if (!this.widgetData.noPip) {
|
||||
|
|
@ -235,7 +235,7 @@ Fader.prototype.draw = function(){
|
|||
this.ctx.beginPath()
|
||||
this.ctx.moveTo(m, d)
|
||||
this.ctx.lineTo(m, o)
|
||||
this.ctx.lineWidth = this.width
|
||||
this.ctx.lineWidth = this.width + 1
|
||||
this.ctx.stroke()
|
||||
|
||||
if (!this.widgetData.noPip) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue