fix Function key theming

This commit is contained in:
2023-12-16 17:28:42 +01:00
parent 07df2a8bdc
commit 88358e1254

View File

@ -307,7 +307,7 @@ export class Editor {
const tab = tabs[i] as HTMLElement; const tab = tabs[i] as HTMLElement;
tab.classList.add("bg-foreground"); tab.classList.add("bg-foreground");
for (let j = 0; j < tabs.length; j++) { 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]; let tab_id = tab.id.split("-")[1];
this.local_index = parseInt(tab_id); this.local_index = parseInt(tab_id);