- onenote.git
- src
- electron
- main
- create
- menu-display.js
This file ( 584B ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
const mainTray = require('./tray')
const mainMenu = require('./menu')
module.exports = (menu) => {
return {
label: global.p3x.onenote.lang.label.hideMenu,
type: 'checkbox',
checked: global.p3x.onenote.hideMenu,
click: () => {
global.p3x.onenote.hideMenu = !global.p3x.onenote.hideMenu;
global.p3x.onenote.conf.set('hide-menu', global.p3x.onenote.hideMenu);
try {
mainMenu()
mainTray()
} catch(e) {
console.error(e)
}
}
}
}