@@ -741,6 +741,7 @@ body.drag .torrent-placeholder span {
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.app.hide-header .error-popover {
|
||||
|
||||
@@ -767,7 +767,7 @@ function openPlayer (infoHash, index, cb) {
|
||||
if (timedOut) return update()
|
||||
|
||||
// otherwise, play the video
|
||||
state.window.title = torrentSummary.name
|
||||
state.window.title = torrentSummary.files[state.playing.fileIndex].name
|
||||
update()
|
||||
|
||||
ipcRenderer.send('onPlayerOpen')
|
||||
|
||||
@@ -4,9 +4,9 @@ module.exports = {
|
||||
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>)
|
||||
// ... 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 _dispatch = () => {}
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@ module.exports = {
|
||||
isPaused: true,
|
||||
mouseStationarySince: 0 /* Unix time in ms */
|
||||
},
|
||||
audioInfo: null, /* set whenever an audio file is playing */
|
||||
pendingTorrents: {}, /* infohash to WebTorrent handle */
|
||||
devices: { /* playback devices like Chromecast and AppleTV */
|
||||
airplay: null, /* airplay client. finds and manages AppleTVs */
|
||||
|
||||
Reference in New Issue
Block a user