Explorar o código

Ok, that's the last one.

Mr.doob %!s(int64=15) %!d(string=hai) anos
pai
achega
322d59fe4d
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      examples/particles/waves.html

+ 3 - 1
examples/particles/waves.html

@@ -85,7 +85,9 @@
 				container.appendChild(renderer.viewport);
 
 				stats = new Stats();
-				container.appendChild( stats.getDisplayElement() );
+				stats.domElement.style.position = 'absolute';
+				stats.domElement.style.top = '0px';
+				container.appendChild(stats.domElement);
 				
 				document.addEventListener('mousemove', onDocumentMouseMove, false);
 				document.addEventListener('touchstart', onDocumentTouchStart, false);