Fixed: Invalid border width initial value

--HG--
branch : develop
This commit is contained in:
Nimetu 2019-05-07 19:40:16 +03:00
parent 5ac0279754
commit afda48c597

View file

@ -61,7 +61,7 @@ namespace NLGUI
Height=-1; Height=-1;
MaxWidth=-1; MaxWidth=-1;
MaxHeight=-1; MaxHeight=-1;
BorderWidth=1; BorderWidth=-1;
BackgroundColor=NLMISC::CRGBA::Black; BackgroundColor=NLMISC::CRGBA::Black;
BackgroundColorOver=NLMISC::CRGBA::Black; BackgroundColorOver=NLMISC::CRGBA::Black;
} }
@ -176,7 +176,7 @@ namespace NLGUI
Current.Height=-1; Current.Height=-1;
Current.MaxWidth=-1; Current.MaxWidth=-1;
Current.MaxHeight=-1; Current.MaxHeight=-1;
Current.BorderWidth=1; Current.BorderWidth=-1;
Current.StyleRules.clear(); Current.StyleRules.clear();
} }