Explorar o código

Fix background animation in new Chrome

RobinLinus %!s(int64=5) %!d(string=hai) anos
pai
achega
955cc566db
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      client/scripts/ui.js

+ 2 - 0
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;