Skip to content

Commit

Permalink
Revert "Allow splash screen window to be resizable (#68)" (#70)
Browse files Browse the repository at this point in the history
This reverts commit 6e5ccda.
  • Loading branch information
sergeichestakov authored Jul 10, 2023
1 parent 6e5ccda commit 64e4a73
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/createWindow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,21 +90,20 @@ interface WindowProps {
export function createSplashScreenWindow(props?: WindowProps): BrowserWindow {
const url = props?.url || `${baseUrl}/desktopApp/auth`;

const width = 480;
const height = 640;

const window = createBaseWindow({
url,
constructorOptions: {
frame: false,
resizable: false,
minimizable: false,
maximizable: false,
fullscreen: false,
minWidth: width,
minHeight: height,
},
});

const width = 480;
const height = 640;

const bounds = {
...store.getSplashScreenWindowBounds(),
width,
Expand Down

0 comments on commit 64e4a73

Please sign in to comment.