mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 04:23:01 +00:00
support using / to focus search input
- add an icon
This commit is contained in:
@@ -64,11 +64,15 @@ export default function (queue: any) {
|
||||
if (!key_down_fired) {
|
||||
if (!ctrlKey) return;
|
||||
e.preventDefault();
|
||||
focusSearchBox();
|
||||
|
||||
|
||||
key_down_fired = true;
|
||||
}
|
||||
}
|
||||
case "/": {{
|
||||
e.preventDefault();
|
||||
focusSearchBox();
|
||||
}}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user