From afda48c597c7b97c60f6a084b36f277e14334237 Mon Sep 17 00:00:00 2001 From: Nimetu Date: Tue, 7 May 2019 19:40:16 +0300 Subject: [PATCH] Fixed: Invalid border width initial value --HG-- branch : develop --- code/nel/include/nel/gui/css_style.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/nel/include/nel/gui/css_style.h b/code/nel/include/nel/gui/css_style.h index 74fcf240d..d4f9cd320 100644 --- a/code/nel/include/nel/gui/css_style.h +++ b/code/nel/include/nel/gui/css_style.h @@ -61,7 +61,7 @@ namespace NLGUI Height=-1; MaxWidth=-1; MaxHeight=-1; - BorderWidth=1; + BorderWidth=-1; BackgroundColor=NLMISC::CRGBA::Black; BackgroundColorOver=NLMISC::CRGBA::Black; } @@ -176,7 +176,7 @@ namespace NLGUI Current.Height=-1; Current.MaxWidth=-1; Current.MaxHeight=-1; - Current.BorderWidth=1; + Current.BorderWidth=-1; Current.StyleRules.clear(); }