Skip to content

Commit

Permalink
修改搜索快捷键
Browse files Browse the repository at this point in the history
  • Loading branch information
youxiurui committed Sep 4, 2023
1 parent f07e597 commit cac30b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/folder/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ const Search = () => {
}
bus.on("tool", handler)
const searchEvent = (e: KeyboardEvent) => {
if ((e.ctrlKey || (isMac && e.metaKey)) && e.key.toLowerCase() === "k") {
if ((e.ctrlKey || (isMac && e.metaKey)) && e.key.toLowerCase() === "f") {
e.preventDefault()
onToggle()
}
Expand Down

0 comments on commit cac30b7

Please sign in to comment.