Don't log mediaTimeUpdate, less noise
This commit is contained in:
@@ -199,7 +199,7 @@ function updateElectron () {
|
|||||||
// Events from the UI never modify state directly. Instead they call dispatch()
|
// Events from the UI never modify state directly. Instead they call dispatch()
|
||||||
function dispatch (action, ...args) {
|
function dispatch (action, ...args) {
|
||||||
// Log dispatch calls, for debugging
|
// Log dispatch calls, for debugging
|
||||||
if (action !== 'mediaMouseMoved') {
|
if (!['mediaMouseMoved', 'mediaTimeUpdate'].includes(action)) {
|
||||||
console.log('dispatch: %s %o', action, args)
|
console.log('dispatch: %s %o', action, args)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user