From 11d7e596451c0291ff9b3b0b8c8b151e92c633e7 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Fri, 7 Dec 2018 00:22:27 +0100 Subject: [PATCH] Pass pointer events through the div (todo: think of something when player thing goes live) --- js/lib/PlayerData.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/lib/PlayerData.js b/js/lib/PlayerData.js index f8cf910..fa132db 100644 --- a/js/lib/PlayerData.js +++ b/js/lib/PlayerData.js @@ -77,6 +77,7 @@ class PlayerData { overlay.style.top = '0'; overlay.style.left = '0'; overlay.style.zIndex = '1000000000'; + overlay.style.pointerEvents = 'none'; overlay.innerHTML = `
${name}
`; this.overlayNode = overlay;