mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 10:56:30 +00:00
commit
28b67e026c
4 changed files with 13 additions and 4 deletions
|
@ -599,6 +599,14 @@
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ejs_control_row label::before {
|
||||||
|
top: -0.15rem !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ejs_control_row label::after {
|
||||||
|
top: calc(-0.15rem + 2px) !important;
|
||||||
|
}
|
||||||
|
|
||||||
.ejs_popup_box {
|
.ejs_popup_box {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 300px;
|
width: 300px;
|
||||||
|
@ -1109,7 +1117,7 @@
|
||||||
|
|
||||||
.ejs_cheat_row label::before {
|
.ejs_cheat_row label::before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: .325rem;
|
top: 0rem;
|
||||||
display: block;
|
display: block;
|
||||||
height: 1rem;
|
height: 1rem;
|
||||||
content: "";
|
content: "";
|
||||||
|
@ -1133,7 +1141,7 @@
|
||||||
content: "";
|
content: "";
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
top: calc(.325rem + 2px);
|
top: calc(0rem + 2px);
|
||||||
left: calc(-2.25rem + 2px);
|
left: calc(-2.25rem + 2px);
|
||||||
width: calc(1rem - 4px);
|
width: calc(1rem - 4px);
|
||||||
height: calc(1rem - 4px);
|
height: calc(1rem - 4px);
|
||||||
|
|
|
@ -2177,6 +2177,7 @@ class EmulatorJS {
|
||||||
if ((this.touch || navigator.maxTouchPoints > 0) && i === 0) {
|
if ((this.touch || navigator.maxTouchPoints > 0) && i === 0) {
|
||||||
const vgp = this.createElement("div");
|
const vgp = this.createElement("div");
|
||||||
vgp.style = "width:25%;float:right;clear:none;padding:0;font-size: 11px;padding-left: 2.25rem;";
|
vgp.style = "width:25%;float:right;clear:none;padding:0;font-size: 11px;padding-left: 2.25rem;";
|
||||||
|
vgp.classList.add("ejs_control_row");
|
||||||
vgp.classList.add("ejs_cheat_row");
|
vgp.classList.add("ejs_cheat_row");
|
||||||
const input = this.createElement("input");
|
const input = this.createElement("input");
|
||||||
input.type = "checkbox";
|
input.type = "checkbox";
|
||||||
|
|
2
data/emulator.min.css
vendored
2
data/emulator.min.css
vendored
File diff suppressed because one or more lines are too long
2
data/emulator.min.js
vendored
2
data/emulator.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue