mirror of
https://github.com/lvgl/lvgl.git
synced 2024-11-23 01:33:59 +08:00
parent
6c9e224df3
commit
3513ac41da
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user