Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
T
Taiko Web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Taiko Web
Commits
926b1634
Commit
926b1634
authored
Jan 06, 2019
by
Bui
Committed by
GitHub
Jan 06, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #104 from LoveEevee/view-fix-go-go-time-gradient
View: Fix go go time gradient
parents
51e270d3
a83e75b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
public/src/js/view.js
public/src/js/view.js
+2
-2
No files found.
public/src/js/view.js
View file @
926b1634
...
@@ -652,7 +652,7 @@
...
@@ -652,7 +652,7 @@
var
barH
=
130
*
mul
var
barH
=
130
*
mul
if
(
this
.
gogoTime
||
ms
<=
this
.
gogoTimeStarted
+
100
){
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
,
"
#512a2c
"
)
grd
.
addColorStop
(
0.46
,
"
#6f2a2d
"
)
grd
.
addColorStop
(
0.46
,
"
#6f2a2d
"
)
grd
.
addColorStop
(
0.76
,
"
#8a4763
"
)
grd
.
addColorStop
(
0.76
,
"
#8a4763
"
)
...
@@ -676,7 +676,7 @@
...
@@ -676,7 +676,7 @@
var
currentGradient
=
gradients
[
sound
]
var
currentGradient
=
gradients
[
sound
]
ctx
.
globalCompositeOperation
=
"
lighter
"
ctx
.
globalCompositeOperation
=
"
lighter
"
do
{
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
(
0
,
"
rgb(
"
+
currentGradient
+
"
)
"
)
grd
.
addColorStop
(
1
,
"
rgba(
"
+
currentGradient
+
"
, 0)
"
)
grd
.
addColorStop
(
1
,
"
rgba(
"
+
currentGradient
+
"
, 0)
"
)
ctx
.
fillStyle
=
grd
ctx
.
fillStyle
=
grd
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment