Explorar o código

Center VRButton in editor

Wolfgang Meyers %!s(int64=5) %!d(string=hai) anos
pai
achega
a598ebe84a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      editor/js/libs/app.js

+ 1 - 1
editor/js/libs/app.js

@@ -182,7 +182,7 @@ var APP = {
 		this.play = function () {
 
 			if ( vrEnabled() ) {
-				document.body.append( vrButton );
+				dom.append( vrButton );
 			}
 
 			prevTime = performance.now();