Skip to content

Commit

Permalink
workaround for Linux users of the app to use it on very low resolutio…
Browse files Browse the repository at this point in the history
…n screens
  • Loading branch information
shiftkey committed Jul 2, 2019
1 parent 9153893 commit c6607e9
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 @@ -54,6 +54,12 @@ export class AppWindow {
} else if (__LINUX__) {
windowOptions.frame = false
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 c6607e9

Please sign in to comment.