fistmas 2022: ui: snow canvas pointer events none

pull/79/head
justcool393 2022-12-15 17:09:34 -06:00 committed by geese_suck
parent f86d517be4
commit f190f86709
Signed by: geese_suck
GPG Key ID: 4D09E4B0A7264746
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,9 @@ function snow(awards, target_id) {
const masthead = document.getElementById(target_id);
const canvas = document.createElement('canvas');
canvas.style.pointerEvents = "none";
const ctx = canvas.getContext('2d');
let width = masthead.clientWidth;
let height = masthead.clientHeight;