fix Function key theming
This commit is contained in:
@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user