mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
chore(arc): implicit conversion turns floating-point number into integer (#5184)
This commit is contained in:
parent
903be11056
commit
6799da9cae
@ -955,7 +955,7 @@ static bool lv_arc_angle_within_bg_bounds(lv_obj_t * obj, const lv_value_precise
|
||||
/* Distance between background start and end angles is less than tolerance,
|
||||
* consider the click inside the arc */
|
||||
else if(((smaller_angle - tolerance_deg) <= 0) &&
|
||||
(360 - (bigger_angle + (smaller_angle - tolerance_deg)))) {
|
||||
(360 - (bigger_angle + (smaller_angle - tolerance_deg))) != 0) {
|
||||
|
||||
arc->min_close = 1;
|
||||
arc->in_out = CLICK_INSIDE_BG_ANGLES;
|
||||
|
Loading…
x
Reference in New Issue
Block a user