From cdf0123bea362c73e48d8b61e5dd5411001d9cce Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Tue, 30 May 2017 01:24:21 +0200 Subject: [PATCH] CComponentsScrollBar: overwrite default corner type Rounded corners are in mostly cases not required, because of possible pixel errors if scrollbars are used as embedded standalone part and is generated with external method paintScrollBar(). --- src/gui/components/cc_frm_scrollbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_frm_scrollbar.cpp b/src/gui/components/cc_frm_scrollbar.cpp index 5e4c046f3..2e59a630f 100644 --- a/src/gui/components/cc_frm_scrollbar.cpp +++ b/src/gui/components/cc_frm_scrollbar.cpp @@ -94,7 +94,7 @@ void CComponentsScrollBar::initVarSbForm(const int& count, const fb_pixel_t& col sb_down_obj = NULL; sb_segments_obj = NULL; - setCorner(RADIUS_MIN, CORNER_ALL); + corner_type = CORNER_NONE; sb_up_icon = frameBuffer->getIconPath(NEUTRINO_ICON_BUTTON_UP) ; sb_down_icon = frameBuffer->getIconPath(NEUTRINO_ICON_BUTTON_DOWN);