From 955cc566db145375312bb978d16433710c4418b3 Mon Sep 17 00:00:00 2001 From: RobinLinus Date: Tue, 19 May 2020 22:14:10 +0200 Subject: [PATCH] Fix background animation in new Chrome --- client/scripts/ui.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/scripts/ui.js b/client/scripts/ui.js index 5ec3b31..b30ec51 100644 --- a/client/scripts/ui.js +++ b/client/scripts/ui.js @@ -567,6 +567,8 @@ Events.on('load', () => { style.width = '100%'; style.position = 'absolute'; style.zIndex = -1; + style.top = 0; + style.left = 0; var ctx = c.getContext('2d'); var x0, y0, w, h, dw;