revert: remove `Cmd+D` to do any delete action

This commit is contained in:
Lykin 2024-05-20 00:47:14 +08:00
parent 3c43f960c3
commit f536b0f23b
2 changed files with 0 additions and 14 deletions

View File

@ -133,23 +133,14 @@ const onKeyShortcut = (e) => {
case 'Delete':
onDelete()
return
case 'd':
if (e.metaKey && isMacOS()) {
onDelete()
}
return
case 'F5':
onReload()
return
case 'r':
if (e.metaKey && isMacOS()) {
onReload()
}
return
case 'F2':
onRename()
return

View File

@ -355,11 +355,6 @@ const onKeyShortcut = (e) => {
case 'Delete':
handleKeyDelete()
break
case 'd':
if (e.metaKey && isMacOS()) {
handleKeyDelete()
}
break
case 'F5':
handleSelectContextMenu('value_reload')
break