1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 10:16:26 +00:00

modify dock.menu

This commit is contained in:
Rokt33r
2015-12-13 18:25:52 +09:00
parent 1963b586ac
commit a05f5b9737
3 changed files with 35 additions and 9 deletions

View File

@@ -29,13 +29,6 @@ class HomePage extends React.Component {
}
handleKeyDown (e) {
if (e.keyCode === 73 && e.metaKey && e.altKey) {
e.preventDefault()
e.stopPropagation()
remote.getCurrentWebContents().openDevTools()
return
}
if (isModalOpen()) {
if (e.keyCode === 27) closeModal()
return