Originally Posted by merlight
I thought this was generally known already. Remember we've discussed this in so many threads... and then wondered why it's so hard to find more info. Apparently there's no sane way to search addon comments.
Edit: and also no working way to link to a specific comment. You have to switch to the #comments tab by hand and then paste the link to the address bar
|
I have to admit I never read the comments for that addon. The code was terrible enough.
Jokes aside, it looks like Randactyl has found an even better solution:
Lua Code:
PLAYER_INVENTORY:UpdateList(INVENTORY_BACKPACK)
HideMouse()
ShowMouse()
I would suggest to use this in the following way:
Lua Code:
local function SafePlayerInventoryUpdateList(inventoryType)
PLAYER_INVENTORY:UpdateList(inventoryType)
if SCENE_MANAGER:IsInUIMode() then
HideMouse()
ShowMouse()
end
end
Btw. you should come and visit our
gitter chat sometime. We discuss most problems over there and it would be awesome to have your input from time to time.