Fixed: Invalid root html style

--HG--
branch : develop
This commit is contained in:
Nimetu 2019-05-10 08:27:26 +03:00
parent 85a806ec44
commit 0676cd0d2b

View file

@ -5799,10 +5799,9 @@ namespace NLGUI
{
if (elm.hasNonEmptyAttribute("style"))
{
_Style.Root = _Style.Current;
_Style.applyRootStyle(elm.getAttribute("style"));
_Style.Current = _Style.Root;
_Style.applyStyle(elm.getAttribute("style"));
}
_Style.Root = _Style.Current;
applyBackground(elm);
}