mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 08:05:18 +02:00
Detect mouse moving out of inventory slot (#16101)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user