mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
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().
Origin commit data
------------------
Commit: cdf0123bea
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-30 (Tue, 30 May 2017)
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user