mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
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:
@@ -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