From 18a8325261a806c4ee6dfd49d587027994a5e509 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Wed, 18 Jan 2023 22:27:39 +0800 Subject: [PATCH] sakura --- components/Sakura.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Sakura.js b/components/Sakura.js index 7dab2969..24c55244 100644 --- a/components/Sakura.js +++ b/components/Sakura.js @@ -162,7 +162,7 @@ function createSakura() { sakura.draw(cxt) sakuraList.push(sakura) } - stop = requestAnimationFrame(asd()) + stop = requestAnimationFrame(asd) function asd() { cxt.clearRect(0, 0, canvas.width, canvas.height) sakuraList.update()