Przeglądaj źródła

Remove debug statements

Remove console.log statements.
master
TheoryOfNekomata 3 lat temu
rodzic
commit
0cb1687838
1 zmienionych plików z 0 dodań i 3 usunięć
  1. +0
    -3
      script.js

+ 0
- 3
script.js Wyświetl plik

@@ -97,7 +97,6 @@
})

ipcRenderer.on('pedal', (event, message) => {
console.log(message)
const [which, value, ] = message.split(':')
const pedalIds = {
64: 'sustain',
@@ -105,8 +104,6 @@
67: 'unacorda',
}

console.log(window.document.getElementById(pedalIds[which]))

window.document.getElementById(pedalIds[which]).style.opacity = value / 127 * 0.75 + 0.25
})
})(window, require('electron'))

Ładowanie…
Anuluj
Zapisz