1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Detect mouse moving out of inventory slot (#16101)

This commit is contained in:
Jürgen Rühle 2025-06-13 23:36:44 +02:00 committed by GitHub
parent 225d2cf916
commit 81d62d01d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -203,10 +203,10 @@ bool GUIInventoryList::OnEvent(const SEvent &event)
if (!hovered || hovered->getID() == -1)
hovered = m_fs_menu;
bool ret = hovered->OnEvent(event);
IsVisible = was_visible;
bool ret = hovered->OnEvent(event);
return ret;
}