decrease setProgress updates (#833)

This commit is contained in:
Mathias Rasmussen
2016-08-25 04:16:30 +02:00
committed by GitHub
parent d2da6881d6
commit f1cf37200e
2 changed files with 6 additions and 2 deletions

View File

@@ -24,7 +24,11 @@ function getDefaultState () {
*/
client: null, /* the WebTorrent client */
server: null, /* local WebTorrent-to-HTTP server */
prev: {}, /* used for state diffing in updateElectron() */
prev: { /* used for state diffing in updateElectron() */
title: null,
progress: -1,
badge: null
},
location: new LocationHistory(),
window: {
bounds: null, /* {x, y, width, height } */