improve mission selector

This commit is contained in:
Brian Beck 2025-12-02 16:58:35 -08:00
parent af17b43584
commit 10b4a65a87
18 changed files with 594 additions and 183 deletions

View file

@ -183,6 +183,10 @@ export function ObserverControls() {
// Don't let KeyboardControls handle stuff when metaKey is held.
useEffect(() => {
const handleKey = (e: KeyboardEvent) => {
// Let Cmd/Ctrl+K pass through for search focus.
if ((e.metaKey || e.ctrlKey) && e.key === "k") {
return;
}
if (e.metaKey) {
e.stopImmediatePropagation();
}