1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-21 00:45:23 +01:00

Add allow_close[] element to formspecs (#15971)

This commit is contained in:
Vincent Robinson
2025-04-16 16:20:39 -07:00
committed by GitHub
parent 04e82749db
commit fd85737460
9 changed files with 71 additions and 44 deletions

View File

@@ -168,7 +168,7 @@ GUIEngine::GUIEngine(JoystickController *joystick,
"",
false);
m_menu->allowClose(false);
m_menu->defaultAllowClose(false);
m_menu->lockSize(true,v2u32(800,600));
// Initialize scripting