Fixed: Invalid root html style
--HG-- branch : develop
This commit is contained in:
parent
85a806ec44
commit
0676cd0d2b
1 changed files with 2 additions and 3 deletions
|
@ -5799,10 +5799,9 @@ namespace NLGUI
|
||||||
{
|
{
|
||||||
if (elm.hasNonEmptyAttribute("style"))
|
if (elm.hasNonEmptyAttribute("style"))
|
||||||
{
|
{
|
||||||
_Style.Root = _Style.Current;
|
_Style.applyStyle(elm.getAttribute("style"));
|
||||||
_Style.applyRootStyle(elm.getAttribute("style"));
|
|
||||||
_Style.Current = _Style.Root;
|
|
||||||
}
|
}
|
||||||
|
_Style.Root = _Style.Current;
|
||||||
applyBackground(elm);
|
applyBackground(elm);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue