Skip to content

Commit

Permalink
fix: allow users to view the app at very low resolution screens
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftkey committed Nov 11, 2024
1 parent f9658d7 commit 4c18c34
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/src/main-process/app-window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ export class AppWindow {
windowOptions.frame = false
} else if (__LINUX__) {
windowOptions.icon = path.join(__dirname, 'static', 'icon-logo.png')

// relax restriction here for users trying to run app at a small
// resolution and any other side-effects of dropping this restriction are
// currently unsupported
delete windowOptions.minHeight
delete windowOptions.minWidth
}

this.window = new BrowserWindow(windowOptions)
Expand Down

0 comments on commit 4c18c34

Please sign in to comment.