some other annoying vr bugfixes: do not overlay hotbar with enter vr button
This commit is contained in:
parent
9961424585
commit
978adea49d
2 changed files with 3 additions and 1 deletions
|
|
@ -162,7 +162,8 @@ export class WorldRendererThree extends WorldRendererCommon {
|
|||
|
||||
render () {
|
||||
tweenJs.update()
|
||||
this.renderer.render(this.scene, this.camera)
|
||||
const cam = this.camera instanceof THREE.Group ? this.camera.children.find(child => child instanceof THREE.PerspectiveCamera) as THREE.PerspectiveCamera : this.camera
|
||||
this.renderer.render(this.scene, cam)
|
||||
}
|
||||
|
||||
renderSign (position: Vec3, rotation: number, isWall: boolean, isHanging: boolean, blockEntity) {
|
||||
|
|
|
|||
|
|
@ -68,6 +68,7 @@ body {
|
|||
background: rgba(0, 0, 0, 0.3) !important;
|
||||
opacity: 0.7 !important;
|
||||
position: fixed !important;
|
||||
bottom: 60px;
|
||||
}
|
||||
|
||||
.dirt-bg {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue