From f5354281255564e883f778996b604c9e8cf7ab03 Mon Sep 17 00:00:00 2001 From: LoveEevee Date: Tue, 1 Jan 2019 16:35:12 +0300 Subject: [PATCH] Fix black loading screens --- public/src/js/controller.js | 1 + public/src/js/scoresheet.js | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/src/js/controller.js b/public/src/js/controller.js index 96c3acf..dd71cc8 100644 --- a/public/src/js/controller.js +++ b/public/src/js/controller.js @@ -130,6 +130,7 @@ class Controller{ if(!fadeIn){ this.clean() } + loader.screen.classList.remove("view") new SongSelect(false, fadeIn, this.touchEnabled) } restartSong(){ diff --git a/public/src/js/scoresheet.js b/public/src/js/scoresheet.js index ea7f033..4fdd589 100644 --- a/public/src/js/scoresheet.js +++ b/public/src/js/scoresheet.js @@ -752,7 +752,7 @@ class Scoresheet{ if(elapsed >= 1000){ this.clean() - this.controller.songSelection(true, false, p2.session ? this.touchEnabled : this.state.pointerLocked) + this.controller.songSelection(true) } } @@ -811,7 +811,6 @@ class Scoresheet{ if(p2.session){ pageEvents.remove(p2, "message") } - loader.screen.classList.remove("view") if(!this.multiplayer){ delete this.tetsuoHana }