Fixed: Wrong text width

--HG--
branch : develop
hg/compatibility-develop
Nimetu 6 years ago
parent f5c8335fa9
commit 4f7c082a4a

@ -916,7 +916,8 @@ namespace NLGUI
return _LineMaxW;
else
{
return std::min(_Parent->getInnerWidth(), (sint)_LineMaxW);
sint offset = (sint)_XReal - (sint)_Parent->getXReal();
return std::min(_Parent->getInnerWidth() - offset, (sint)_LineMaxW);
}
}

Loading…
Cancel
Save