1
0
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:
sfence
2024-07-22 19:14:53 +02:00
committed by GitHub
parent 60f8c02e18
commit 4e1661eded

View File

@@ -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;
}
}