From f561557c3ef56c922edb4654c74fbc39b4f79484 Mon Sep 17 00:00:00 2001 From: FlamedDogo99 <96555444+FlamedDogo99@users.noreply.github.com> Date: Sun, 9 Jun 2024 19:32:16 -0600 Subject: [PATCH] Updated temp log Sorry for the spam --- eaglermobile.user.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/eaglermobile.user.js b/eaglermobile.user.js index b5cd5e5..5b12782 100644 --- a/eaglermobile.user.js +++ b/eaglermobile.user.js @@ -386,12 +386,15 @@ function insertCanvasElements() { hiddenInput.id = "hiddenInput" hiddenInput.classList.add("inMenu") // We are hiding the text input behind button because opacity was causing problems. - hiddenInput.style.cssText = "position:absolute;top: 0vh; margin: auto; left: 8vh; right:0vh; width: 8vh; height: 8vh;font-size:20px;z-index:-10;color: transparent;text-shadow: 0 0 0 black;"; + //TEMP REVERT + //hiddenInput.style.cssText = "position:absolute;top: 0vh; margin: auto; left: 8vh; right:0vh; width: 8vh; height: 8vh;font-size:20px;z-index:-10;color: transparent;text-shadow: 0 0 0 black;"; + + hiddenInput.style.cssText = "position:absolute;top: 0vh; margin: auto; left: 8vh; right:0vh; width: 8vh; height: 8vh;font-size:20px;z-index:10"; hiddenInput.value = " " //Allows delete to be detected before input is changed hiddenInput.addEventListener("input", function(e) { e.preventDefault(true); let inputData = e.data == null ? "delete" : e.data.slice(-1); - console.log("Received input!", inputData, e.inputType) + console.log(`Received input by ${e.inputType}: ${e.data} -> ${inputData}`); window.lastKey = inputData hiddenInput.value = " "; // We need a character to detect deleting