From ab63295d251e99119c93441e012c58fa4e8728e1 Mon Sep 17 00:00:00 2001 From: adrien Date: Mon, 3 Jul 2023 13:28:36 +0200 Subject: [PATCH] settings opened on load --- app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index bf93965..a12a818 100644 --- a/app.js +++ b/app.js @@ -543,7 +543,7 @@ class Settings { this.musicVolume = 50 this.sfxVolume = 50 - this.gui = gui.addFolder("Options").close() + this.gui = gui.addFolder("Options").open() this.gui.add(this, "startLevel").name("Niveau initial").min(1).max(15).step(1) @@ -985,6 +985,7 @@ let game = { start: function() { startButton.hide() stats.gui.show() + settings.gui.close() this.playing = true stats.clock.start()