CComponentsItem: remove frame witdth from boxrad calculation

This fix possible artefacts on the bottom right corner with frame
This commit is contained in:
2016-09-12 08:28:08 +02:00
parent a17d61de8c
commit b6185ea78d

View File

@@ -93,7 +93,7 @@ void CComponentsItem::paintInit(bool do_save_bg)
box_rad -= max(0, 2*box_rad-dy);
//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;
//if item is bound on a parent form,...