cosmetics

This commit is contained in:
Unrud 2018-09-30 00:26:30 +02:00
parent 4ca4889955
commit 07678e56ab
2 changed files with 5 additions and 4 deletions

File diff suppressed because one or more lines are too long

View file

@ -16,6 +16,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with Foobar. If not, see <http://www.gnu.org/licenses/>. * along with Foobar. If not, see <http://www.gnu.org/licenses/>.
*/ */
// [1 Touch, 2 Touches, 3 Touches] // [1 Touch, 2 Touches, 3 Touches]
const TOUCH_MOVE_THRESHOLD = [10, 15, 15]; const TOUCH_MOVE_THRESHOLD = [10, 15, 15];
const TOUCH_TIMEOUT = 250; const TOUCH_TIMEOUT = 250;
@ -343,7 +344,7 @@ window.addEventListener("load", function() {
} }
opening.style.display = "none"; opening.style.display = "none";
pad.style.display = "none"; pad.style.display = "none";
keyboard.style.display = "none" keyboard.style.display = "none";
closed.style.display = "flex"; closed.style.display = "flex";
}; };
@ -355,7 +356,7 @@ window.addEventListener("load", function() {
pad.style.display = "none"; pad.style.display = "none";
keyboard.style.display = "flex"; keyboard.style.display = "flex";
text.focus(); text.focus();
history.pushState("keyboard", "Remote Keyboard"); history.pushState("keyboard", "");
}); });
if (!fullscreenEnabled()) { if (!fullscreenEnabled()) {
fullscreenbutton.style.display = "none"; fullscreenbutton.style.display = "none";