mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Fix inventory items unresponsive after tab interaction (#14661)
This was a soft lock until LMB was clicked again.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user