mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-10-29 03:11:17 +00:00
support using / to focus search input
- add an icon
This commit is contained in:
1 parent
5d0492d63a
commit
077939bbdc
3 files changed
+36
-18
No files matched your search
@@ -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