mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CComponentsItem: remove frame witdth from boxrad calculation
This fix possible artefacts on the bottom right corner with frame
This commit is contained in:
@@ -93,7 +93,7 @@ void CComponentsItem::paintInit(bool do_save_bg)
|
|||||||
box_rad -= max(0, 2*box_rad-dy);
|
box_rad -= max(0, 2*box_rad-dy);
|
||||||
|
|
||||||
//Workaround: ensure radius values >= 0, framebuffer methode paintBoxRel() gets confused
|
//Workaround: ensure radius values >= 0, framebuffer methode paintBoxRel() gets confused
|
||||||
box_rad = max(box_rad-th, 0);
|
box_rad = max(box_rad, 0);
|
||||||
|
|
||||||
fb_pixel_t col_shadow_clean = 0;
|
fb_pixel_t col_shadow_clean = 0;
|
||||||
//if item is bound on a parent form,...
|
//if item is bound on a parent form,...
|
||||||
|
Reference in New Issue
Block a user