mirror of
https://github.com/FlamedDogo99/EaglerMobile.git
synced 2024-11-23 20:46:04 -08:00
Removing zoom on select
This commit is contained in:
parent
aed6d14c13
commit
4139c5a70e
|
@ -360,7 +360,7 @@ function insertCanvasElements() {
|
||||||
// input for keyboard button
|
// input for keyboard button
|
||||||
let hiddenInput = document.createElement('input', true);
|
let hiddenInput = document.createElement('input', true);
|
||||||
hiddenInput.id = "hiddenInput"
|
hiddenInput.id = "hiddenInput"
|
||||||
hiddenInput.style.cssText = "opacity:0;z-index:-99999";
|
hiddenInput.style.cssText = "position:absolute;left:0px;top:0px;width:50px;height:50px;font-size:20px";
|
||||||
hiddenInput.value = " " //Allows delete to be detected before input is changed
|
hiddenInput.value = " " //Allows delete to be detected before input is changed
|
||||||
hiddenInput.addEventListener("input", function(e) {
|
hiddenInput.addEventListener("input", function(e) {
|
||||||
hiddenInput.value = " "; // We need a character to detect deleting
|
hiddenInput.value = " "; // We need a character to detect deleting
|
||||||
|
|
Loading…
Reference in New Issue
Block a user