feat: change shortcuts

This commit is contained in:
MAZE 2024-08-30 17:17:46 +03:30
parent a29e2c20e4
commit 251f30930c
4 changed files with 4 additions and 4 deletions

View file

@ -11,7 +11,7 @@ export function Presets({ open }: PresetsProps) {
<Item <Item
icon={<RiPlayListFill />} icon={<RiPlayListFill />}
label="Your Presets" label="Your Presets"
shortcut="Shift + Alt + P" shortcut="Shift + P"
onClick={open} onClick={open}
/> />
); );

View file

@ -59,7 +59,7 @@ export function Menu() {
); );
useHotkeys('shift+m', () => setIsOpen(prev => !prev)); useHotkeys('shift+m', () => setIsOpen(prev => !prev));
useHotkeys('shift+alt+p', () => open('presets')); useHotkeys('shift+p', () => open('presets'));
useHotkeys('shift+h', () => open('shortcuts')); useHotkeys('shift+h', () => open('shortcuts'));
useHotkeys('shift+s', () => open('shareLink'), { enabled: !noSelected }); useHotkeys('shift+s', () => open('shareLink'), { enabled: !noSelected });
useHotkeys('shift+t', () => open('sleepTimer')); useHotkeys('shift+t', () => open('sleepTimer'));

View file

@ -18,7 +18,7 @@
justify-content: space-between; justify-content: space-between;
& .label { & .label {
font-weight: 500; font-size: var(--font-sm);
color: var(--color-foreground-subtle); color: var(--color-foreground-subtle);
} }

View file

@ -14,7 +14,7 @@ export function ShortcutsModal({ onClose, show }: ShortcutsModalProps) {
label: 'Shortcuts List', label: 'Shortcuts List',
}, },
{ {
keys: ['Shift', 'Alt', 'P'], keys: ['Shift', 'P'],
label: 'Presets', label: 'Presets',
}, },
{ {