Skip to content

Commit

Permalink
fix: set resizeable to be false again
Browse files Browse the repository at this point in the history
  • Loading branch information
MattLish committed Nov 9, 2021
1 parent f006d58 commit 566b4f3
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,9 @@ async function createWindow() {
// Create the browser window.
window = new BrowserWindow({
frame: false,
/**
* Set window max height and width to prevent bug with dragging the window on Windows
* TODO when https://github.com/electron/electron/issues/30788 is resolved, set resizable to false and remove max width and height
*/
height: 580,
maxHeight: 580,
minHeight: 580,
width: 1000,
minWidth: 1000,
maxWidth: 1000,
resizable: true,
resizable: false,
icon: nativeImage.createFromPath(path.join(__static, "icon.icon")),
maximizable: false,
webPreferences: {
Expand Down

0 comments on commit 566b4f3

Please sign in to comment.