diff --git a/index.html b/index.html index 9a95ffa..3cd672f 100644 --- a/index.html +++ b/index.html @@ -336,7 +336,6 @@ -
diff --git a/src/DOM/DomElements.ts b/src/DOM/DomElements.ts index 3c4f783..9e496e3 100644 --- a/src/DOM/DomElements.ts +++ b/src/DOM/DomElements.ts @@ -34,7 +34,6 @@ export const singleElements = { midi_channels_scripts: "midi-channels-scripts", midi_clock_ppqn: "midi-clock-ppqn-input", theme_selector: "theme-selector", - theme_previewer: "theme-previewer", load_demo_songs: "load-demo-songs", normal_mode_button: "normal-mode", vim_mode_button: "vim-mode", diff --git a/src/DOM/UILogic.ts b/src/DOM/UILogic.ts index 4b154d4..47d0b49 100644 --- a/src/DOM/UILogic.ts +++ b/src/DOM/UILogic.ts @@ -310,7 +310,6 @@ export const installInterfaceLogic = (app: Editor) => { for (const [key, _] of Object.entries(selected_theme)) { theme_preview += `

█`; } - app.interface.theme_previewer.innerHTML = theme_preview; }); app.interface.settings_button.addEventListener("click", () => { @@ -336,12 +335,6 @@ export const installInterfaceLogic = (app: Editor) => { // @ts-ignore let selected_theme = colors[app.settings.theme as string]; - let theme_preview = "

"; - for (const [key, _] of Object.entries(selected_theme)) { - theme_preview += `

`; - } - theme_preview += "
"; - app.interface.theme_previewer.innerHTML = theme_preview; // Populate the font family selector const doughNudgeRange = app.interface.dough_nudge_range as HTMLInputElement; doughNudgeRange.value = app.dough_nudge.toString();