Skip to content

Commit

Permalink
Improve macOS Preferences window size
Browse files Browse the repository at this point in the history
  • Loading branch information
hovancik committed Jan 9, 2021
1 parent 17f32b2 commit f363a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/preferences.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ function setWindowHeight () {
const classes = document.querySelector('body').classList
const height = document.querySelector('body').scrollHeight
if (classes.contains('darwin')) {
remote.getCurrentWindow().setSize(bounds.width, height + 22)
remote.getCurrentWindow().setSize(bounds.width, height + 32)
} else if (classes.contains('win32')) {
remote.getCurrentWindow().setSize(bounds.width, height + 40)
}
Expand Down

0 comments on commit f363a21

Please sign in to comment.