Compare commits

...

2 Commits

Author SHA1 Message Date
FlamedDogo99
f684d13a40 QUICK UPDATE: Re-added button styling
Not sure why or how this was deleted but its back now
2024-06-15 21:06:22 -06:00
FlamedDogo99
3e58a4ddb8 Update eaglermobile.user.js 2024-06-15 20:37:46 -06:00

View File

@ -520,7 +520,7 @@ function insertCanvasElements() {
}, false); }, false);
document.body.appendChild(screenshotButton); document.body.appendChild(screenshotButton);
let coordinatesButton = createTouchButton("coordinatesButton", "inGame"); let coordinatesButton = createTouchButton("coordinatesButton", "inGame");
coordinatesButton.style.cssText = "" coordinatesButton.style.cssText = "top: 0vh; margin: auto; left: 32vh; right: 0vh; width: 8vh; height: 8vh;"
coordinatesButton.addEventListener("touchstart", function(e) { coordinatesButton.addEventListener("touchstart", function(e) {
keyEvent("f", "keydown"); keyEvent("f", "keydown");
keyEvent("3", "keydown"); keyEvent("3", "keydown");
@ -551,7 +551,6 @@ customStyle.textContent = `
outline:none; outline:none;
box-shadow: none; box-shadow: none;
border: none; border: none;
pointer-events: none !important;
} }
.mobileControl:active, .mobileControl.active { .mobileControl:active, .mobileControl.active {
position: absolute; position: absolute;
@ -572,7 +571,6 @@ customStyle.textContent = `
outline:none; outline:none;
box-shadow: none; box-shadow: none;
border: none; border: none;
pointer-events: none !important;
} }
html, body, canvas { html, body, canvas {
height: -webkit-fill-available !important; height: -webkit-fill-available !important;