mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Revert "Detect mouse moving out of inventory slot (#16101)"
This reverts commit 81d62d01d1
.
This commit is contained in:
parent
fdc149f316
commit
647cc86067
1 changed files with 2 additions and 2 deletions
|
@ -203,10 +203,10 @@ bool GUIInventoryList::OnEvent(const SEvent &event)
|
||||||
if (!hovered || hovered->getID() == -1)
|
if (!hovered || hovered->getID() == -1)
|
||||||
hovered = m_fs_menu;
|
hovered = m_fs_menu;
|
||||||
|
|
||||||
IsVisible = was_visible;
|
|
||||||
|
|
||||||
bool ret = hovered->OnEvent(event);
|
bool ret = hovered->OnEvent(event);
|
||||||
|
|
||||||
|
IsVisible = was_visible;
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue