mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 02:46:23 +00:00
Fix pause/play bug
This commit is contained in:
parent
959d727cd4
commit
715bb86dbd
5 changed files with 7 additions and 14 deletions
|
@ -253,11 +253,7 @@ class EJS_GameManager {
|
|||
})
|
||||
}
|
||||
toggleMainLoop(playing) {
|
||||
if (playing) {
|
||||
this.Module.resumeMainLoop();
|
||||
} else {
|
||||
this.Module.pauseMainLoop();
|
||||
}
|
||||
this.functions.toggleMainLoop(playing);
|
||||
}
|
||||
getCoreOptions() {
|
||||
return this.functions.getCoreOptions();
|
||||
|
|
|
@ -251,7 +251,7 @@
|
|||
.ejs_svg_rotate {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
@media (max-width: 575px) {
|
||||
@media (max-width: 574px) {
|
||||
.ejs_settings_parent::after {
|
||||
right: 15px;
|
||||
}
|
||||
|
@ -261,9 +261,6 @@
|
|||
.ejs_settings_leftside::after {
|
||||
right: 15px;
|
||||
}
|
||||
.ejs_settings_center {
|
||||
right: 0px;
|
||||
}
|
||||
.ejs_settings_center::after {
|
||||
right: 25%;
|
||||
}
|
||||
|
@ -1100,7 +1097,7 @@
|
|||
border: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 575px) {
|
||||
@media (max-width: 574px) {
|
||||
.ejs_volume_parent input[type='range'] {
|
||||
width: 100%;
|
||||
}
|
||||
|
@ -1117,7 +1114,7 @@
|
|||
position: relative;
|
||||
}
|
||||
/*
|
||||
@media (max-width: 575px) {
|
||||
@media (max-width: 574px) {
|
||||
.ejs_volume_parent {
|
||||
padding-right: 0px;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
class EmulatorJS {
|
||||
version = 5; //Increase by 1 when cores are updated
|
||||
version = 6; //Increase by 1 when cores are updated
|
||||
getCore(generic) {
|
||||
const core = this.config.system;
|
||||
/*todo:
|
||||
|
|
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