Browse Source

Merge branch 'master' of http://120.78.169.79:3000/zhengxiaoyu/datiGame

郑晓宇 6 years ago
parent
commit
f6c7b68d22
1 changed files with 2 additions and 3 deletions
  1. 2 3
      public/h5/datigame/index.html

+ 2 - 3
public/h5/datigame/index.html

@@ -200,9 +200,8 @@ for (var i = 0; i < maxStars; i++) {
 function animation() {
   ctx.globalCompositeOperation = 'source-over';
   ctx.globalAlpha = 0.8;
-  ctx.fillStyle = 'rgba(39,48,123,0.2)';
-  ctx.fillRect(0, 0, w, h)
-
+  ctx.fillStyle = 'rgb(39,48,123)';
+  ctx.fillRect(0, 0, w, h);
   ctx.globalCompositeOperation = 'lighter';
   for (var i = 1, l = stars.length; i < l; i++) {
     stars[i].draw();