fix(kon): hotkey event mismatch — layout now dispatches kon:toggle-recording

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
jake
2026-03-17 02:09:48 +00:00
parent 6e959ed0c9
commit 11bf7163da

View File

@@ -58,7 +58,7 @@
await mod.register(hotkey, () => {
if (page.current !== "dictation") page.current = "dictation";
requestAnimationFrame(() => {
window.dispatchEvent(new CustomEvent("ramble:toggle-recording"));
window.dispatchEvent(new CustomEvent("kon:toggle-recording"));
});
});
registeredHotkey = hotkey;