From e80b8876874a6db00f305bd031950e245cfffb4b Mon Sep 17 00:00:00 2001 From: Michael Lynch Date: Tue, 22 Sep 2020 17:32:08 -0400 Subject: [PATCH] Revert "Mobile Keyboard Input (#223)" (#264) This reverts commit 0de4194594491cdbcfbdaf7cc8b5c50d5aaa16ba. --- app/static/js/app.js | 2 +- .../custom-elements/remote-screen.html | 35 +------------------ app/templates/index.html | 5 +-- 3 files changed, 3 insertions(+), 39 deletions(-) diff --git a/app/static/js/app.js b/app/static/js/app.js index e88062381..06e0ca877 100644 --- a/app/static/js/app.js +++ b/app/static/js/app.js @@ -2,6 +2,7 @@ const socket = io(); let connectedToServer = false; + const screenCursorOptions = [ "disabled", //to show on disconnect "default", // Note that this is the browser default, not TinyPilot's default. @@ -312,7 +313,6 @@ document.getElementById("fullscreen-btn").addEventListener("click", (evt) => { document.getElementById("paste-btn").addEventListener("click", () => { showPasteOverlay(); }); - document .getElementById("paste-overlay") .addEventListener("paste-text", (evt) => { diff --git a/app/templates/custom-elements/remote-screen.html b/app/templates/custom-elements/remote-screen.html index 5ddfcf62f..e8f89f01e 100644 --- a/app/templates/custom-elements/remote-screen.html +++ b/app/templates/custom-elements/remote-screen.html @@ -30,14 +30,8 @@ :host([fullscreen="true"]) #remote-screen-img.full-height { height: 100%; } - - #mobile-keyboard-input { - position: fixed; - bottom: -1000px; - }
-