Skip to content

Commit

Permalink
Set preference window size to 460px
Browse files Browse the repository at this point in the history
  • Loading branch information
NetizenAbel authored and thamara committed Apr 19, 2020
1 parent ba45d52 commit cbc91c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ ipcMain.on('PREFERENCE_SAVE_DATA_NEEDED', (event, preferences) => {
});

ipcMain.on('SET_WAIVER_DAY', (event, waiverDay) => {
/*eslint-disable no-undef*/
if (!isNan(waiverDay))
{
global.waiverDay = waiverDay;
Expand Down Expand Up @@ -185,7 +186,7 @@ function createWindow() {
click() {
const htmlPath = path.join('file://', __dirname, 'src/preferences.html');
let prefWindow = new BrowserWindow({ width: 400,
height: 448,
height: 460,
parent: win,
resizable: true,
icon: iconpath,
Expand Down

0 comments on commit cbc91c7

Please sign in to comment.