How do I make the inventory go 'up' after mass items have been removed and added

Started by bx83, Sat 24/04/2021 05:34:20

Previous topic - Next topic

bx83

I remove all the items in the inventory, updateinventory(), don't show the user; add a couple of item back, updateinventory(), don't show user.

Finally, when the user clicks the inventory and makes it visible, the inventory is 'up' 1 row; it doesn't sit with the first line of items at the top, rather they are one row upwards, hidden. How can I manually update and reposition it so the first row sits flush and can be seen?

Slasher



SMF spam blocked by CleanTalk