From 88358e1254bcc2e385c360eb537ad6d54f7288f4 Mon Sep 17 00:00:00 2001 From: Raphael Forment Date: Sat, 16 Dec 2023 17:28:42 +0100 Subject: [PATCH] fix Function key theming --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index c6d234f..20360c5 100644 --- a/src/main.ts +++ b/src/main.ts @@ -307,7 +307,7 @@ export class Editor { const tab = tabs[i] as HTMLElement; tab.classList.add("bg-foreground"); for (let j = 0; j < tabs.length; j++) { - if (j != i) tabs[j].classList.remove("bg-foreground_selection"); + if (j != i) tabs[j].classList.remove("bg-foreground"); } let tab_id = tab.id.split("-")[1]; this.local_index = parseInt(tab_id);