mirror of
https://github.com/minetest/minetest.git
synced 2024-12-22 22:22:23 +01:00
Fix inventory items unresponsive after tab interaction (#14661)
This was a soft lock until LMB was clicked again.
This commit is contained in:
parent
60f8c02e18
commit
4e1661eded
@ -4098,6 +4098,8 @@ bool GUIFormSpecMenu::preprocessEvent(const SEvent& event)
|
||||
skin->setFont(m_font);
|
||||
bool retval = hovered->OnEvent(event);
|
||||
skin->setFont(old_font);
|
||||
// This is expected to be set to BET_OTHER with mouse UP event
|
||||
m_held_mouse_button = BET_OTHER;
|
||||
return retval;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user