From e5d9f554ab68aa113c2d587721910f3fa2016e1b Mon Sep 17 00:00:00 2001 From: mumuy Date: Mon, 15 May 2017 17:31:01 +0800 Subject: [PATCH] =?UTF-8?q?updated=20=E6=96=B0=E7=89=88chrome=20=E5=AF=B9?= =?UTF-8?q?=E6=B8=85=E9=99=A4=E7=94=BB=E5=B8=83=E5=A4=B1=E6=95=88=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/game.js b/game.js index 1704e09..06f333c 100644 --- a/game.js +++ b/game.js @@ -333,6 +333,8 @@ function Game(id,params){ var fn = function(){ var stage = _stages[_index]; _context.clearRect(0,0,_.width,_.height); //清除画布 + _context.fillStyle = '#000000'; + _context.fillRect(0,0,_.width,_.height); f++; if(stage.timeout){ stage.timeout--;