Browse Source

Center VRButton in editor

Wolfgang Meyers 5 years ago
parent
commit
a598ebe84a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/js/libs/app.js

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

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