From 0598782edae6f94ec600c2ec7c4feb631c64a49b Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 28 Jan 2016 21:12:46 +0100 Subject: [PATCH] CCDraw: try to fix is_painted property after used kill() Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/be1f555e3724c322eef7dca5b3e593312811578c Author: Thilo Graf Date: 2016-01-28 (Thu, 28 Jan 2016) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/components/cc_draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_draw.cpp b/src/gui/components/cc_draw.cpp index b744caaff..2e6d85fdd 100644 --- a/src/gui/components/cc_draw.cpp +++ b/src/gui/components/cc_draw.cpp @@ -676,7 +676,7 @@ void CCDraw::kill(const fb_pixel_t& bg_color, const int& corner_radius, const in } } - if (fblayer_type == CC_FBDATA_TYPE_BOX){ + if (fblayer_type == CC_FBDATA_TYPES){ firstPaint = true; is_painted = false; }