From dff5055cfd46202df2cd17157e97592c95cc36cf Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 13 Nov 2021 18:56:46 +0100 Subject: [PATCH] cc_frm_scrollbar: remove doPaintBg(false), not required --- src/gui/components/cc_frm_scrollbar.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gui/components/cc_frm_scrollbar.cpp b/src/gui/components/cc_frm_scrollbar.cpp index be317a3a2..8447400da 100644 --- a/src/gui/components/cc_frm_scrollbar.cpp +++ b/src/gui/components/cc_frm_scrollbar.cpp @@ -3,7 +3,7 @@ Copyright (C) 2001 by Steffen Hehn 'McClean' Scrollbar class based up CComponentsFrmChain. - Copyright (C) 2014 Thilo Graf 'dbt' + Copyright (C) 2014, 2021 Thilo Graf 'dbt' License: GPL @@ -132,7 +132,6 @@ void CComponentsScrollBar::initTopNaviIcon() if (sb_up_obj == NULL){ sb_up_obj = new CComponentsPicture(CC_CENTERED, fr_thickness, width-2*fr_thickness, width-2*fr_thickness, sb_up_icon, this); sb_up_obj->SetTransparent(CFrameBuffer::TM_BLACK); - sb_up_obj->doPaintBg(false); } } @@ -142,7 +141,6 @@ void CComponentsScrollBar::initBottomNaviIcon() if (sb_down_obj == NULL){ sb_down_obj = new CComponentsPicture(CC_CENTERED, height - width-2*fr_thickness, width-2*fr_thickness, 0, sb_down_icon, this); sb_down_obj->SetTransparent(CFrameBuffer::TM_BLACK); - sb_down_obj->doPaintBg(false); } }