And again...

This commit is contained in:
Mr.doob
2010-05-12 10:17:44 -07:00
parent 8ccfa6ffe1
commit e959ed50ef
+3 -1
View File
@@ -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);