mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-12-23 09:46:15 +08:00
View: Fix go go time gradient
This commit is contained in:
parent
51e270d3b0
commit
a83e75b2e2
@ -652,7 +652,7 @@
|
||||
var barH = 130 * mul
|
||||
|
||||
if(this.gogoTime || ms <= this.gogoTimeStarted + 100){
|
||||
var grd = ctx.createLinearGradient(padding, 0, this.winW, 0)
|
||||
var grd = ctx.createLinearGradient(padding, 0, winW, 0)
|
||||
grd.addColorStop(0, "#512a2c")
|
||||
grd.addColorStop(0.46, "#6f2a2d")
|
||||
grd.addColorStop(0.76, "#8a4763")
|
||||
@ -676,7 +676,7 @@
|
||||
var currentGradient = gradients[sound]
|
||||
ctx.globalCompositeOperation = "lighter"
|
||||
do{
|
||||
var grd = ctx.createLinearGradient(padding, 0, this.winW, 0)
|
||||
var grd = ctx.createLinearGradient(padding, 0, winW, 0)
|
||||
grd.addColorStop(0, "rgb(" + currentGradient + ")")
|
||||
grd.addColorStop(1, "rgba(" + currentGradient + ", 0)")
|
||||
ctx.fillStyle = grd
|
||||
|
Loading…
Reference in New Issue
Block a user