clear cast interval when casting stops; naming
* fix ipc logs * minWidth 425 So title "WebTorrent (BETA)" doesn't get cut off * clear cast interval when casting stops; naming Fix #300
This commit is contained in:
@@ -81,10 +81,10 @@ function init () {
|
||||
if (name.startsWith('wt-')) {
|
||||
if (e.sender.browserWindowOptions.title === 'webtorrent-hidden-window') {
|
||||
windows.main.send(name, ...args)
|
||||
log('webtorrent ipc: sent %s', name)
|
||||
log('webtorrent: got %s', name)
|
||||
} else {
|
||||
windows.webtorrent.send(name, ...args)
|
||||
log('webtorrent ipc: receieved %s', name)
|
||||
log('webtorrent: sent %s', name)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ function createMainWindow () {
|
||||
backgroundColor: '#282828',
|
||||
darkTheme: true, // Forces dark theme (GTK+3)
|
||||
icon: config.APP_ICON + '.png',
|
||||
minWidth: 375,
|
||||
minWidth: 425,
|
||||
minHeight: 38 + (120 * 2), // header height + 2 torrents
|
||||
show: false, // Hide window until DOM finishes loading
|
||||
title: config.APP_WINDOW_TITLE,
|
||||
|
||||
Reference in New Issue
Block a user