fix(draw): create intermediate layer for blend modes too

This commit is contained in:
Gabor Kiss-Vamosi
2022-04-26 11:23:55 +02:00
parent 318146a2c2
commit 8b15007568
6 changed files with 22 additions and 21 deletions

View File

@@ -498,12 +498,6 @@ static void lv_obj_draw(lv_event_t * e)
return;
}
#if LV_DRAW_COMPLEX
if(lv_obj_get_style_blend_mode(obj, LV_PART_MAIN) != LV_BLEND_MODE_NORMAL) {
info->res = LV_COVER_RES_NOT_COVER;
return;
}
#endif
info->res = LV_COVER_RES_COVER;
}