Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kaliumxyz committed May 8, 2017
1 parent d2531c2 commit 27d03b6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ $ npm test
```

## license
MIT © [Kalium](kalium.xyz)
MIT © [Kalium](https://kalium.xyz)
14 changes: 12 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ let win

function createWindow() {
// Create the browser window.
win = new BrowserWindow({ width: 800, height: 600, frame: false, transparent: true, fullscreen: true, minimizable: false})
win = new BrowserWindow({
frame: false,
transparent: true,
fullscreen: true,
thickFrame: false,
fullscreenable: true,
})

//win.setIgnoreMouseEvents(true)

Expand All @@ -15,7 +21,11 @@ function createWindow() {

win.on('closed', _ => {
win = null
})}
})
win.on('resize', _ => {
win.setFullScreen(true)
})
}

// This method will be called when Electron has finished
// initialization and is ready to create browser windows.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"scripts": {
"watch-css": "node-sass -w -r ./app/assets/sass -o ./app/assets/css",
"test": "ave",
"test": "ava",
"start": "electron ."
}
}

0 comments on commit 27d03b6

Please sign in to comment.