From 0eb8202f52978d3f797365b36ab3b055591a8145 Mon Sep 17 00:00:00 2001 From: spessasus Date: Wed, 10 Jul 2024 01:36:41 +0200 Subject: [PATCH] fix dark keyboard range change --- src/website/js/midi_keyboard/midi_keyboard.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/website/js/midi_keyboard/midi_keyboard.js b/src/website/js/midi_keyboard/midi_keyboard.js index c4b501dc..177765b3 100644 --- a/src/website/js/midi_keyboard/midi_keyboard.js +++ b/src/website/js/midi_keyboard/midi_keyboard.js @@ -117,6 +117,12 @@ class MidiKeyboard } this._handlePointers(); + + if(this.mode === "dark") + { + this.mode = "light" + this.toggleMode(false); + } } /**