CComponentsItem: remove frame witdth from boxrad calculation

This fix possible artefacts on the bottom right corner with frame


Origin commit data
------------------
Branch: ni/coolstream
Commit: b6185ea78d
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-12 (Mon, 12 Sep 2016)



------------------
This commit was generated by Migit
This commit is contained in:
2016-09-12 08:28:08 +02:00
parent 8ca8486085
commit ee66102a3e

View File

@@ -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,...