Update zindex

This commit is contained in:
Clement Fradet Normand 2021-08-31 19:21:30 +02:00 committed by GitHub
parent a165467cd7
commit 74aeb7de42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ function createCanvas(): CanvasState {
canvas.style.position = 'absolute';
canvas.style.left = '0';
canvas.style.top = '0';
canvas.style.zIndex = '1000000000000000000';
canvas.style.zIndex = '2147483647';
// Disable any user interactions
canvas.style.pointerEvents = 'none';
global.document.body.appendChild(canvas);