mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 09:05:19 +02:00
Formspec: allow lists to change size and existence while the formspec is open (#9700)
Fixes #9640.
This commit is contained in:
@@ -107,7 +107,7 @@ private:
|
||||
const InventoryLocation m_inventoryloc;
|
||||
const std::string m_listname;
|
||||
|
||||
// specifies the width and height of the inventorylist in itemslots
|
||||
// the specified width and height of the shown inventorylist in itemslots
|
||||
const v2s32 m_geom;
|
||||
// the first item's index in inventory
|
||||
const s32 m_start_item_i;
|
||||
@@ -127,4 +127,7 @@ private:
|
||||
|
||||
// the index of the hovered item; -1 if no item is hovered
|
||||
s32 m_hovered_i;
|
||||
|
||||
// we do not want to write a warning on every draw
|
||||
bool m_already_warned;
|
||||
};
|
||||
|
Reference in New Issue
Block a user