This commit is contained in:
mtvpls
2026-02-07 22:15:55 +08:00
parent a63e402b81
commit e619cbe62a
5 changed files with 44 additions and 5 deletions

View File

@@ -45,8 +45,6 @@ const FireworksCanvas = () => {
const context = canvas.getContext('2d');
if (!context) return;
if (window.matchMedia('(prefers-reduced-motion: reduce)').matches) return;
let width = 0;
let height = 0;
let dpr = window.devicePixelRatio || 1;