Skip to content

Commit

Permalink
window size
Browse files Browse the repository at this point in the history
  • Loading branch information
bunsenstraat committed Sep 19, 2024
1 parent effca80 commit 511a746
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/remixdesktop/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ const windowSet = new Set<BrowserWindow>([]);
export const createWindow = async (dir?: string): Promise<void> => {
// Create the browser window.
const mainWindow = new BrowserWindow({
width: 2560,// (isE2E ? 3840 : screen.getPrimaryDisplay().size.width * 0.8),
height: 1140, //(isE2E ? 2160 : screen.getPrimaryDisplay().size.height * 0.8),
width: (isE2E ? 2560 : screen.getPrimaryDisplay().size.width * 0.8),
height: (isE2E ? 1140 : screen.getPrimaryDisplay().size.height * 0.8),
frame: true,
webPreferences: {
preload: path.join(__dirname, 'preload.js')
Expand Down

0 comments on commit 511a746

Please sign in to comment.