no more custom title bar for now

This commit is contained in:
khlam 2019-10-19 20:40:29 -07:00
parent 9a96da6ba2
commit 9dd3b52bdd

View File

@ -7,9 +7,6 @@ function muteMic(webview){
console.log("not talking") console.log("not talking")
webview.sendInputEvent({keyCode: 'Backspace', type: 'keyUp'}); webview.sendInputEvent({keyCode: 'Backspace', type: 'keyUp'});
webview.sendInputEvent({keyCode: 'Backspace', type: 'char'}); webview.sendInputEvent({keyCode: 'Backspace', type: 'char'});
document.getElementById("title-bar-status").style.backgroundColor = "#212226"
document.getElementById("title-bar-controls").style.backgroundColor = "#212226"
document.getElementById("title-bar").style.backgroundColor = "#212226"
} }
onload = () => { onload = () => {
@ -92,9 +89,6 @@ onload = () => {
console.log("talking") console.log("talking")
webview.sendInputEvent({keyCode: 'Backspace', type: 'keyDown'}); webview.sendInputEvent({keyCode: 'Backspace', type: 'keyDown'});
webview.sendInputEvent({keyCode: 'Backspace', type: 'char'}); webview.sendInputEvent({keyCode: 'Backspace', type: 'char'});
document.getElementById("title-bar-status").style.backgroundColor = "green"
document.getElementById("title-bar-controls").style.backgroundColor = "green"
document.getElementById("title-bar").style.backgroundColor = "green"
} }
if (event.data.type === 'micClose'){ if (event.data.type === 'micClose'){