Windows Thumbnail Bar

* While in the player view, show a play/pause toggle in the thumbnail
This commit is contained in:
Gediminas Petrikas
2016-04-23 21:34:49 +03:00
committed by DC
parent 7526b18507
commit 15f733f11c
6 changed files with 49 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ var shell = require('./shell')
var shortcuts = require('./shortcuts')
var vlc = require('./vlc')
var windows = require('./windows')
var thumbnail = require('./thumbnail')
// Messages from the main process, to be sent once the WebTorrent process starts
var messageQueueMainToWebTorrent = []
@@ -68,6 +69,10 @@ function init () {
shortcuts.onPlayerOpen()
})
ipc.on('updateThumbnailBar', function (e, isPaused) {
thumbnail.updateThumbarButtons(isPaused)
})
/**
* Power Save Blocker
*/