A browser source overlay for winter vibes for your Live Streams or Videos

fixed onload issue

Changed files
+2 -2
src
+2 -2
src/main.js
···
let isPlowing = false;
-
window.onload = init;
-
function init() {
// @ts-ignore -- I dunno how to get ts / jsdoc to be ok with this
canvas = document.getElementById("main");
···
lastFrame = time;
window.requestAnimationFrame(gameLoop);
}
+
+
init();