Commit 95aef7c6 authored by afc163's avatar afc163

Fix waterwave background

parent 0aa70e32
...@@ -102,7 +102,7 @@ class WaterWave extends PureComponent { ...@@ -102,7 +102,7 @@ class WaterWave extends PureComponent {
ctx.lineTo(xOffset, canvasHeight); ctx.lineTo(xOffset, canvasHeight);
ctx.lineTo(startPoint[0], startPoint[1]); ctx.lineTo(startPoint[0], startPoint[1]);
const gradient = ctx.createLinearGradient(0, 0, 0, 170); const gradient = ctx.createLinearGradient(0, 0, 0, canvasHeight);
gradient.addColorStop(0, '#ffffff'); gradient.addColorStop(0, '#ffffff');
gradient.addColorStop(1, '#1890FF'); gradient.addColorStop(1, '#1890FF');
ctx.fillStyle = gradient; ctx.fillStyle = gradient;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment