From 34c6d208c3bc4cd20e206278fff2ae117c7343a7 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 27 Apr 2015 11:51:01 +0200 Subject: [PATCH] cc_base.cpp: fix wrong statment value Comes with 7288284ecef39d8273da0c7b4781dd41637d0182 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/5f603ed6b08223a6d5236ecb12dcccf8b1983574 Author: Thilo Graf Date: 2015-04-27 (Mon, 27 Apr 2015) ------------------ This commit was generated by Migit --- src/gui/components/cc_base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_base.cpp b/src/gui/components/cc_base.cpp index 7cd054c05..223db8d95 100644 --- a/src/gui/components/cc_base.cpp +++ b/src/gui/components/cc_base.cpp @@ -198,7 +198,7 @@ void CComponents::paintFbItems(bool do_save_bg) //calculate current shadow width depends of current corner_rad sw_cur = max(2*v_fbdata[i].r, sw); } - if (cc_allow_paint && is_painted){ + if (cc_allow_paint && !is_painted){ // shadow right frameBuffer->paintBoxRel(x_sh, v_fbdata[i].y, sw_cur, v_fbdata[i].dy-sw_cur, v_fbdata[i].color, v_fbdata[i].r, corner_type & CORNER_TOP_RIGHT); // shadow bottom