From 9dd3b52bdd3875f76168c03f25ec013a39d1b624 Mon Sep 17 00:00:00 2001 From: khlam <4841220+khlam@users.noreply.github.com> Date: Sat, 19 Oct 2019 20:40:29 -0700 Subject: [PATCH] no more custom title bar for now --- renderer.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/renderer.js b/renderer.js index 6215697..dc63fbc 100644 --- a/renderer.js +++ b/renderer.js @@ -7,9 +7,6 @@ function muteMic(webview){ console.log("not talking") webview.sendInputEvent({keyCode: 'Backspace', type: 'keyUp'}); 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 = () => { @@ -92,9 +89,6 @@ onload = () => { console.log("talking") webview.sendInputEvent({keyCode: 'Backspace', type: 'keyDown'}); 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'){