mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
@@ -198,7 +198,7 @@ void CComponents::paintFbItems(bool do_save_bg)
|
|||||||
//calculate current shadow width depends of current corner_rad
|
//calculate current shadow width depends of current corner_rad
|
||||||
sw_cur = max(2*v_fbdata[i].r, sw);
|
sw_cur = max(2*v_fbdata[i].r, sw);
|
||||||
}
|
}
|
||||||
if (cc_allow_paint && is_painted){
|
if (cc_allow_paint && !is_painted){
|
||||||
// shadow right
|
// shadow right
|
||||||
frameBuffer->paintBoxRel(x_sh, v_fbdata[i].y, sw_cur, v_fbdata[i].dy-sw_cur, v_fbdata[i].color, v_fbdata[i].r, corner_type & CORNER_TOP_RIGHT);
|
frameBuffer->paintBoxRel(x_sh, v_fbdata[i].y, sw_cur, v_fbdata[i].dy-sw_cur, v_fbdata[i].color, v_fbdata[i].r, corner_type & CORNER_TOP_RIGHT);
|
||||||
// shadow bottom
|
// shadow bottom
|
||||||
|
Reference in New Issue
Block a user