Pass pointer events through the div (todo: think of something when player thing goes live)
This commit is contained in:
parent
2c889b55a8
commit
11d7e59645
@ -77,6 +77,7 @@ class PlayerData {
|
||||
overlay.style.top = '0';
|
||||
overlay.style.left = '0';
|
||||
overlay.style.zIndex = '1000000000';
|
||||
overlay.style.pointerEvents = 'none';
|
||||
overlay.innerHTML = `<div style="background-color: ${color}; color: #fff; position: absolute; top: 0; left: 0">${name}</div>`;
|
||||
|
||||
this.overlayNode = overlay;
|
||||
|
Loading…
Reference in New Issue
Block a user