mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
textbox: 'editable' property
This commit is contained in:
parent
d41973583c
commit
9fbf46169f
4 changed files with 92 additions and 14 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue