mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
CComponentsItem: fix changeing color on select switching of frames
expand select mode methodes with paremters for frame properties
This should make variables col_frame_sel and fr_thickness_sel superfluous.
Origin commit data
------------------
Commit: 3477e28cd7
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-20 (Sat, 20 Aug 2016)
This commit is contained in:
@@ -188,7 +188,7 @@ void CComponentsButton::initCaption()
|
||||
}
|
||||
|
||||
//set basic properties
|
||||
int w_frame = max(fr_thickness, fr_thickness_sel);
|
||||
int w_frame = fr_thickness;
|
||||
if (cc_btn_capt_obj){
|
||||
//position and size
|
||||
int x_cap = w_frame;
|
||||
|
Reference in New Issue
Block a user