Default window height shows all torrents

This commit is contained in:
Feross Aboukhadijeh
2016-05-11 21:26:18 +02:00
parent 0b1872fa28
commit 86f5a1a54e

View File

@@ -97,7 +97,7 @@ function createMainWindow () {
titleBarStyle: 'hidden-inset', // Hide OS chrome, except traffic light buttons (OS X)
useContentSize: true, // Specify web page size without OS chrome
width: 500,
height: HEADER_HEIGHT + (TORRENT_HEIGHT * 5) // header height + 4 torrents
height: HEADER_HEIGHT + (TORRENT_HEIGHT * 6) // header height + 5 torrents
})
win.loadURL(config.WINDOW_MAIN)
win.setSheetOffset(HEADER_HEIGHT)