wrap useHotkeys to disable on command palette open (#1925)

This commit is contained in:
jeffvli
2026-04-28 19:31:41 -07:00
parent 8eab9edb15
commit f5eb3f1488
13 changed files with 35 additions and 11 deletions
@@ -5,6 +5,7 @@ import { useLocation } from 'react-router';
import styles from './full-screen-visualizer.module.css';
import { FullScreenVisualizerSongInfo } from '/@/renderer/features/player/components/full-screen-visualizer-song-info';
import { useHotkeys } from '/@/renderer/hooks/use-hotkeys';
import { useIsMobile } from '/@/renderer/hooks/use-is-mobile';
import { useFullScreenPlayerStoreActions } from '/@/renderer/store/full-screen-player.store';
import {
@@ -12,7 +13,6 @@ import {
useSettingsStore,
useWindowSettings,
} from '/@/renderer/store/settings.store';
import { useHotkeys } from '/@/shared/hooks/use-hotkeys';
import { Platform } from '/@/shared/types/types';
const AudioMotionAnalyzerVisualizer = lazy(() =>