Description
Ink Out effect time is not getting set correctly.
What MCU/Processor/Board and compiler are you using?
Simulator
What do you experience?
So, I am writing unit tests in my serialization and ink out time is not being set.
What do you expect?
Ink out time being set correctly.
Code to reproduce
Bug is here, line 340 in lv_btn.c:
uint16_t lv_btn_get_ink_out_time(const lv_obj_t * btn)
{
#if LV_USE_ANIMATION && LV_BTN_INK_EFFECT
lv_btn_ext_t * ext = lv_obj_get_ext_attr(btn);
return ext->ink_in_time; <<<<<<< ERROR
#else
(void)btn; /*Unused*/
return 0;
#endif
}
ink_in_time is being returned when it should be ink in
Use the ```c
and ```
tags to format your code:
/*You code here*/
Screenshot and/or video
If possible, add screenshots and/or videos about the current issue.