@setoelkahfi / svara / commits / 7056a39

Added focus on active file

mellobacon committed Oct 6, 2022 at 03:05 UTC 7056a399bbcceca6b463dcf150f6888547affdc0
1 file changed +1
src/components/Content/Editor/scripts/Tabs.ts
+1
@@ -77,6 +77,7 @@ export function setActive(id) {
77 activeid = id;
78 tab.active = true;
79 tabinfo.set(tab.language);
80 + tab.editor.focus();
81 }
82 else {
83 tab.active = false;