fix: search uses ctrl+shift+f instead of hijacking browser's ctrl+f (#4638)

This commit is contained in:
contributor 2025-06-19 22:57:57 +03:00 committed by GitHub
parent e9bb3dc243
commit a02b2972eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -511,8 +511,11 @@ const keyEvent = (event: KeyboardEvent) => {
switch (event.key) {
case "f":
event.preventDefault();
layoutStore.showHover("search");
case "F":
if (event.shiftKey) {
event.preventDefault();
layoutStore.showHover("search");
}
break;
case "c":
case "x":