refactor XR controller handling in design mode

This commit is contained in:
2026-04-18 15:23:49 +03:00
parent 99ba537c66
commit c611cb6439
11 changed files with 78 additions and 65 deletions
+1 -2
View File
@@ -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);
},