Merge branch 'master' into v1

This commit is contained in:
bordun 2020-03-17 18:52:50 +01:00
commit 6806ebc72a
4 changed files with 20 additions and 5 deletions

View file

@ -30,7 +30,7 @@ module.exports = function(options={}) {
window.once('ready-to-show', ()=>{
window.show()
})
window.webContents.once('page-title-updated', ()=>{
if (options.fullscreen) {
window.webContents.sendInputEvent({keyCode: 'F11', type: 'keyDown'})