fix(draw): fix bug introduced by PR #6638 (#7264)

This commit is contained in:
Victor Wheeler 2024-11-11 03:15:01 -07:00 committed by GitHub
parent 6c9e224df3
commit 3513ac41da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -881,7 +881,7 @@ bool lv_obj_area_is_visible(const lv_obj_t * obj, lv_area_t * area)
if(!lv_area_intersect(area, area, &obj_coords)) return false;
if(!is_transformed(obj)) {
*area = obj->coords;
*area = obj_coords;
}
else {
lv_obj_get_transformed_area(obj, area, LV_OBJ_POINT_TRANSFORM_FLAG_RECURSIVE);