Backed out changeset: 05b36f55a905

--HG--
branch : atys
hg/atys
Nimetu 5 years ago
parent 6a81640199
commit 07ba1aa3d0

@ -167,11 +167,11 @@ namespace NLGUI
return Current.FontSize-2;
}
static sint styleStackIndex;
sint styleStackIndex = 0;
inline void pushStyle()
{
CCssStyle::styleStackIndex++;
styleStackIndex++;
_StyleStack.push_back(Current);
Current.DisplayBlock = false;
@ -186,7 +186,7 @@ namespace NLGUI
inline void popStyle()
{
CCssStyle::styleStackIndex--;
styleStackIndex--;
if (_StyleStack.empty())
{
Current = Root;

@ -31,8 +31,6 @@ using namespace NLMISC;
namespace NLGUI
{
sint CCssStyle::styleStackIndex = 0;
uint CCssStyle::SStyleRule::specificity() const
{
uint count = 0;

Loading…
Cancel
Save