Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
Use new BrowserWindow API (fixes #144)
Browse files Browse the repository at this point in the history
  • Loading branch information
brrd committed Mar 10, 2017
1 parent d89f385 commit e70b063
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions app/abr-window.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ AbrWindow.prototype = {
win = new BrowserWindow({
title: constants.appName || "Abricotine",
icon: constants.path.icon,
"min-width": 100,
"min-height": 100,
"x": mainWindowState.x,
"y": mainWindowState.y,
"width": mainWindowState.width,
"height": mainWindowState.height,
"auto-hide-menu-bar": typeof showMenubar !== "undefined" ? !showMenubar : false
minWidth: 100,
minHeight: 100,
x: mainWindowState.x,
y: mainWindowState.y,
width: mainWindowState.width,
height: mainWindowState.height,
autoHideMenuBar: typeof showMenubar !== "undefined" ? !showMenubar : false
});
mainWindowState.manage(win);

Expand Down

0 comments on commit e70b063

Please sign in to comment.