refactor XR controller handling in design mode
This commit is contained in:
@@ -40,7 +40,7 @@ export default {
|
||||
xr: true,
|
||||
gizmo: false,
|
||||
stats: true,
|
||||
depthSense: this.store.prefs.xr.depthSense,
|
||||
//depthSense: this.store.prefs.xr.depthSense,
|
||||
mode: 'GamePreview'
|
||||
});
|
||||
manager = await new GameManager(engine, this.id);
|
||||
@@ -75,7 +75,6 @@ export default {
|
||||
},
|
||||
resize(){
|
||||
let r = this.$refs.target;
|
||||
this.debug('resizing', r.clientWidth, r.clientHeight, r)
|
||||
engine.resize(r.clientWidth, r.clientHeight);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user