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:
Feross Aboukhadijeh
2016-04-05 23:12:23 -07:00
committed by DC
parent 292898de9e
commit 8629fc956d
5 changed files with 35 additions and 30 deletions

View File

@@ -207,8 +207,8 @@ function dispatch (action, ...args) {
if (action === 'openDevice') {
lazyLoadCast().open(args[0] /* deviceType */)
}
if (action === 'stopCasting') {
lazyLoadCast().stopCasting()
if (action === 'closeDevice') {
lazyLoadCast().close()
}
if (action === 'setDimensions') {
setDimensions(args[0] /* dimensions */)