Skip to content

Commit

Permalink
Merge pull request #453 from McGiverGim/remember_window_size
Browse files Browse the repository at this point in the history
Remember position and size of the window
  • Loading branch information
mikeller authored Jul 12, 2020
2 parents beb8894 + 61513a6 commit 0c2820f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions chromeBackground.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
'use strict';

function startApplication() {
const timestampId = Date.now();
chrome.app.window.create('index.html',
{
id: `main${timestampId}`,
id: 'main',
frame: 'chrome',
innerBounds : {
'width' : 1340,
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"release": "gulp release"
},
"window": {
"id": "main",
"show": true,
"icon": "images/bf_icon_128.png",
"min_width": 1340,
Expand Down

0 comments on commit 0c2820f

Please sign in to comment.