chore: merge contributor guides, tidy util folders and helpers

This commit is contained in:
Jones Jankovic committed 2026-11-02 13:38:37 +10:30
1 parent 4708004ae3
commit 009aae49e3
78 files changed
+156 -964

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
import { settingsState } from "@/seqta/utils/listeners/SettingsState";
import { addShortcuts } from "@/seqta/utils/adders/AddShortcuts";
import { CreateCustomShortcutDiv } from "@/seqta/utils/createEnable/CreateCustomShortcutDiv";
export function renderShortcuts() {
const container = document.getElementById("shortcuts");
if (!container) return;
container.innerHTML = "";
try {
addShortcuts(settingsState.shortcuts || []);
} catch (err: any) {
console.error("[BetterSEQTA+] Error adding built-in shortcuts:", err?.message || err);
}
const custom = settingsState.customshortcuts || [];
for (const element of custom) {
try {
CreateCustomShortcutDiv(element);
} catch (err: any) {
console.error("[BetterSEQTA+] Error adding custom shortcut:", element?.name, err?.message || err);
}
}
}