Don't log mediaTimeUpdate, less noise

This commit is contained in:
DC
2016-03-30 20:48:25 -07:00
parent af783e0532
commit 8a16ddb3d0

View File

@@ -199,7 +199,7 @@ function updateElectron () {
// Events from the UI never modify state directly. Instead they call dispatch()
function dispatch (action, ...args) {
// Log dispatch calls, for debugging
if (action !== 'mediaMouseMoved') {
if (!['mediaMouseMoved', 'mediaTimeUpdate'].includes(action)) {
console.log('dispatch: %s %o', action, args)
}