textbox: 'editable' property

This commit is contained in:
MihailRis
2024-03-04 20:16:22 +03:00
parent d41973583c
commit 9fbf46169f
4 changed files with 92 additions and 14 deletions
+3 -2
View File
@@ -353,8 +353,9 @@ void Hud::update(bool visible) {
setPause(true);
}
}
if (visible && !gui->isFocusCaught() && Events::jactive(BIND_HUD_INVENTORY)) {
if (!pause) {
if (visible && !gui->isFocusCaught() && !pause) {
if (Events::jactive(BIND_HUD_INVENTORY)) {
if (inventoryOpen) {
closeInventory();
} else {