@@ -741,6 +741,7 @@ body.drag .torrent-placeholder span {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.app.hide-header .error-popover {
|
.app.hide-header .error-popover {
|
||||||
|
|||||||
@@ -767,7 +767,7 @@ function openPlayer (infoHash, index, cb) {
|
|||||||
if (timedOut) return update()
|
if (timedOut) return update()
|
||||||
|
|
||||||
// otherwise, play the video
|
// otherwise, play the video
|
||||||
state.window.title = torrentSummary.name
|
state.window.title = torrentSummary.files[state.playing.fileIndex].name
|
||||||
update()
|
update()
|
||||||
|
|
||||||
ipcRenderer.send('onPlayerOpen')
|
ipcRenderer.send('onPlayerOpen')
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ module.exports = {
|
|||||||
dispatcher
|
dispatcher
|
||||||
}
|
}
|
||||||
|
|
||||||
// _memoize most of our event handlers, which are functions in the form
|
// Memoize most of our event handlers, which are functions in the form
|
||||||
// () => dispatch(<args>)
|
// () => dispatch(<args>)
|
||||||
// ... this prevents virtual-dom from updating tons of listeners on every update()
|
// ... this prevents virtual-dom from updating every listener on every update()
|
||||||
var _dispatchers = {}
|
var _dispatchers = {}
|
||||||
var _dispatch = () => {}
|
var _dispatch = () => {}
|
||||||
|
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ module.exports = {
|
|||||||
isPaused: true,
|
isPaused: true,
|
||||||
mouseStationarySince: 0 /* Unix time in ms */
|
mouseStationarySince: 0 /* Unix time in ms */
|
||||||
},
|
},
|
||||||
|
audioInfo: null, /* set whenever an audio file is playing */
|
||||||
pendingTorrents: {}, /* infohash to WebTorrent handle */
|
pendingTorrents: {}, /* infohash to WebTorrent handle */
|
||||||
devices: { /* playback devices like Chromecast and AppleTV */
|
devices: { /* playback devices like Chromecast and AppleTV */
|
||||||
airplay: null, /* airplay client. finds and manages AppleTVs */
|
airplay: null, /* airplay client. finds and manages AppleTVs */
|
||||||
|
|||||||
Reference in New Issue
Block a user