feat(shortcuts): make clipboard-video-append shortcut configurable (#158)

This commit is contained in:
2026-07-11 23:36:44 -07:00
committed by GitHub
parent 8797719a09
commit 6ab3d823a4
26 changed files with 87 additions and 18 deletions
-7
View File
@@ -28,7 +28,6 @@ export function createKeyboardHandlers(
}) => void;
openControllerSelectModal?: () => void;
openControllerDebugModal?: () => void;
appendClipboardVideoToQueue: () => void;
getPlaybackPaused: () => Promise<boolean | null>;
toggleSubtitleSidebarModal?: () => void;
},
@@ -1221,12 +1220,6 @@ export function createKeyboardHandlers(
return;
}
if ((e.ctrlKey || e.metaKey) && !e.altKey && !e.shiftKey && e.code === 'KeyA' && !e.repeat) {
e.preventDefault();
options.appendClipboardVideoToQueue();
return;
}
const keyString = keyEventToString(e);
const binding = ctx.state.sessionBindingMap.get(keyString);
if (binding) {