mirror of
https://github.com/Eaglercraft-Archive/Eaglercraftx-1.8.8-src.git
synced 2025-06-27 18:38:14 -05:00
Update #49 - Fix unclosable pause menu glitch
This commit is contained in:
@ -16,6 +16,7 @@
|
||||
|
||||
async function entryPoint() {
|
||||
try {
|
||||
Error["stackTraceLimit"] = 1024;
|
||||
eaglercraftXOpts = self.__eaglercraftXLoaderContext.getEaglercraftXOpts();
|
||||
eagRuntimeJSURL = self.__eaglercraftXLoaderContext.getEagRuntimeJSURL();
|
||||
const classesWASM = self.__eaglercraftXLoaderContext.getClassesWASMURL();
|
||||
|
@ -370,7 +370,7 @@ async function initPlatformInput(inputImports) {
|
||||
}
|
||||
|
||||
window.addEventListener("keydown", /** @type {function(Event)} */ (currentEventListeners.keydown = function(/** KeyboardEvent */ evt) {
|
||||
if(integratedServerCrashPanelShowing) {
|
||||
if(!integratedServerCrashPanelShowing) {
|
||||
evt.preventDefault();
|
||||
evt.stopPropagation();
|
||||
}
|
||||
@ -383,7 +383,7 @@ async function initPlatformInput(inputImports) {
|
||||
}));
|
||||
|
||||
window.addEventListener("keyup", /** @type {function(Event)} */ (currentEventListeners.keyup = function(/** KeyboardEvent */ evt) {
|
||||
if(integratedServerCrashPanelShowing) {
|
||||
if(!integratedServerCrashPanelShowing) {
|
||||
evt.preventDefault();
|
||||
evt.stopPropagation();
|
||||
}
|
||||
|
Reference in New Issue
Block a user