Merge with develop

--HG--
branch : compatibility-develop
hg/compatibility-develop
Nimetu 6 years ago
commit 2bba699a82

@ -1407,6 +1407,9 @@ namespace NLGUI
// ------------------------------------------------------------------------------------------------
void CInterfaceGroup::checkCoords()
{
// Make XReal same as in updateCoords() as some elements (CViewText) depends on it
_XReal += _MarginLeft;
//update all children elements
vector<CViewBase*>::const_iterator ite;
for (ite = _EltOrder.begin() ; ite != _EltOrder.end(); ite++)
@ -1415,6 +1418,8 @@ namespace NLGUI
if(pIE->getActive())
pIE->checkCoords();
}
_XReal -= _MarginLeft;
executeLuaScriptOnDraw();
}

Loading…
Cancel
Save