Mercurial > hg > Members > ryokka > 43slide-viewer
changeset 1:e3851f39ad5c default tip
add EditMenu
author | ryokka |
---|---|
date | Wed, 29 May 2019 20:13:51 +0900 |
parents | 12d9c981a5f4 |
children | |
files | index.js |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/index.js Wed May 29 18:53:44 2019 +0900 +++ b/index.js Wed May 29 20:13:51 2019 +0900 @@ -37,13 +37,24 @@ {submenu: [ { role: 'quit',}, ]}, + {label: 'Edit', + submenu: [ + {role: 'cut',}, + {role: 'copy',}, + {role: 'paste',}, + {role: 'selectAll',}, + {role: 'delete',}, + ]}, {label: 'View', submenu: [ + {role: 'reload',}, { role: 'minimize',}, { role: 'zoomin',}, { role: 'zoomout',}, { role: 'togglefullscreen'}, + {role: 'hide',}, + ]} ];