diff --git a/examples/particles/random.html b/examples/particles/random.html index 22efd714..50d1400d 100644 --- a/examples/particles/random.html +++ b/examples/particles/random.html @@ -71,7 +71,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);