CComponentsItem: remove frame witdth from boxrad calculation

This fix possible artefacts on the bottom right corner with frame


Origin commit data
------------------
Commit: b6185ea78d
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-12 (Mon, 12 Sep 2016)
This commit is contained in:
2016-09-12 08:28:08 +02:00
parent 4300865679
commit 2e7deeb88b

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