Skip to content

Commit

Permalink
remove fullscreen styles when scene gets detached (#5602)
Browse files Browse the repository at this point in the history
  • Loading branch information
gunhaxxor authored Nov 13, 2024
1 parent f615c8b commit 8558316
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/scene/a-scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ class AScene extends AEntity {
scenes.splice(sceneIndex, 1);

window.removeEventListener('sessionend', this.resize);
this.removeFullScreenStyles();
this.renderer.dispose();
}

Expand Down

0 comments on commit 8558316

Please sign in to comment.