1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 02:15:33 +00:00

This is why i wanted MyGUI 3.4. So many hacks to use 3.2.

This commit is contained in:
Mads Buvik Sandvei 2020-11-29 19:02:06 +01:00
parent 1e64aea1a5
commit aff7d93a21
2 changed files with 5 additions and 1 deletions

View file

@ -345,6 +345,7 @@ namespace MWVR
void* userData)
{
OpenXRManagerImpl* manager = reinterpret_cast<OpenXRManagerImpl*>(userData);
(void)manager;
std::string severityStr = "";
std::string typeStr = "";

View file

@ -915,7 +915,10 @@ namespace MWVR
else
{
mFocusWidget->_riseMouseButtonReleased(mGuiCursor.x(), mGuiCursor.y(), MyGUI::MouseButton::Left);
mFocusWidget->_riseMouseButtonClick();
// Some widgets are invalidated before returning from _riseMouseButtonReleased
if (validateFocusWidget())
mFocusWidget->_riseMouseButtonClick();
}
return true;
}