Fix background animation in new Chrome

This commit is contained in:
RobinLinus 2020-05-19 22:14:10 +02:00 committed by GitHub
parent 921fc22d4e
commit 955cc566db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;