Przeglądaj źródła

Center VRButton in editor

Wolfgang Meyers 5 lat temu
rodzic
commit
a598ebe84a
1 zmienionych plików z 1 dodań i 1 usunięć
  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();