navibar: just 1px height for new separator line

Origin commit data
------------------
Commit: 39950060b8
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-01-07 (Fri, 07 Jan 2022)

Origin message was:
------------------
- navibar: just 1px height for new separator line
This commit is contained in:
vanhofen
2022-01-07 22:15:37 +01:00
parent afc12357cf
commit 3d629df2ac

View File

@@ -76,7 +76,7 @@ void CNaviBar::initCCItems()
// small separator line on the top
int grad = g_settings.theme.menu_Separator_gradient_enable ? CC_COLGRAD_COL_DARK_LIGHT_DARK : CC_COLGRAD_OFF;
if (!nb_topline)
nb_topline = new CComponentsShapeSquare(0, 0, width, 2, this, CC_SHADOW_OFF);
nb_topline = new CComponentsShapeSquare(0, 0, width, 1, this, CC_SHADOW_OFF);
nb_topline->setColorBody(COL_MENUCONTENT_PLUS_1);
nb_topline->setColBodyGradient(grad, CFrameBuffer::gradientHorizontal, COL_MENUCONTENT_PLUS_0, CColorGradient::light);