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:
@ -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