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:
@@ -58,7 +58,7 @@
|
|||||||
await mod.register(hotkey, () => {
|
await mod.register(hotkey, () => {
|
||||||
if (page.current !== "dictation") page.current = "dictation";
|
if (page.current !== "dictation") page.current = "dictation";
|
||||||
requestAnimationFrame(() => {
|
requestAnimationFrame(() => {
|
||||||
window.dispatchEvent(new CustomEvent("ramble:toggle-recording"));
|
window.dispatchEvent(new CustomEvent("kon:toggle-recording"));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
registeredHotkey = hotkey;
|
registeredHotkey = hotkey;
|
||||||
|
|||||||
Reference in New Issue
Block a user