Add main menu accelerators

This commit is contained in:
futpib 2018-11-25 20:34:50 +03:00
parent c3ade0c8c9
commit 6f44dc87bd
3 changed files with 8 additions and 8 deletions

View File

@ -18,7 +18,7 @@ const MenuProvider = ({ children, ...props }) => r(Provider, { electron }, r(Rea
const WindowMenu = props => r(WindowMenuBase, [
r(MenuItem, {
label: 'File',
label: '&File',
}, [
r(MenuItem, {
label: 'Open a server...',
@ -35,7 +35,7 @@ const WindowMenu = props => r(WindowMenuBase, [
]),
r(MenuItem, {
label: 'View',
label: '&View',
}, [
r(MenuItem, {
label: 'Cards',
@ -74,7 +74,7 @@ const WindowMenu = props => r(WindowMenuBase, [
]),
r(MenuItem, {
label: 'Help',
label: '&Help',
}, [
r(MenuItem, {
label: 'Documentation',

View File

@ -6,7 +6,7 @@
"license": "GPL-3.0",
"devDependencies": {
"ava": "^0.25.0",
"electron": "^3.0.8",
"electron": "^3.0.10",
"electron-devtools-installer": "^2.2.4",
"electron-packager": "^12.2.0",
"eslint-config-xo-overrides": "^1.1.2",

View File

@ -2222,10 +2222,10 @@ electron-store@^2.0.0:
dependencies:
conf "^2.0.0"
electron@^3.0.8:
version "3.0.8"
resolved "https://registry.yarnpkg.com/electron/-/electron-3.0.8.tgz#7905806ebaead4c693531e11cda6568c32efa7bb"
integrity sha512-UVj+K59lYU/vH/7TxrmDidPssFwGQZ6Ljuupugdr9h6ipMuhwgk3WRO+OlJ2TsyhKhJ6tp3AcJunuN4mprblhQ==
electron@^3.0.10:
version "3.0.10"
resolved "https://registry.yarnpkg.com/electron/-/electron-3.0.10.tgz#7d412856e8cf0d3041a612a32dd09e2af2d50f50"
integrity sha512-I39IeQP3NOlbjKzTDK8uK2JdiHDfhV5SruCS2Gttkn2MaKCY+yIzQ6Wr4DyBXLeTEkL1sbZxbqQVhCavAliv5w==
dependencies:
"@types/node" "^8.0.24"
electron-download "^4.1.0"