fix(opa): corrected incorrect usage of LV_OPA_MIN (#8161)

Signed-off-by: yushuailong1 <yushuailong1@xiaomi.com>
This commit is contained in:
yushuailong
2025-04-28 17:16:54 +08:00
committed by GitHub
parent c23fa314f6
commit 56fbfabc79
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -799,7 +799,7 @@ static void spectrum_draw_event_cb(lv_event_t * e)
lv_layer_t * layer = lv_event_get_layer(e);
lv_opa_t opa = lv_obj_get_style_opa_recursive(obj, LV_PART_MAIN);
if(opa < LV_OPA_MIN) return;
if(opa <= LV_OPA_MIN) return;
lv_point_t center;
lv_area_t obj_coords;