mirror of
https://github.com/remvze/moodist.git
synced 2025-12-17 08:54:13 +00:00
feat: change shortcuts
This commit is contained in:
parent
a29e2c20e4
commit
251f30930c
4 changed files with 4 additions and 4 deletions
|
|
@ -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}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -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'));
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue