commit 955cc566db145375312bb978d16433710c4418b3
parent 921fc22d4e59ab3758fbea05ad7efeb11f89d3af
Author: RobinLinus <RobinLinus@users.noreply.github.com>
Date: Tue, 19 May 2020 22:14:10 +0200
Fix background animation in new Chrome
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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;