Skip to content

Commit

Permalink
fix: height
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Mar 19, 2024
1 parent 0d3ded2 commit cf7a8d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ app.whenReady().then(async () => {
alwaysOnTop: true,
width: WIDTH,
height: 200,
resizable: true,
resizable: false,
frame: false,

webPreferences: {
Expand Down Expand Up @@ -159,7 +159,7 @@ ipcMain.on('stop-dragging', () => {

ipcMain.on('height', (_event, height) => {
mainWindow.setResizable(true);
//mainWindow.setSize(WIDTH, height);
mainWindow.setSize(WIDTH, height);
mainWindow.setResizable(false);
});

Expand Down

0 comments on commit cf7a8d3

Please sign in to comment.