mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 11:08:34 +08:00
fix widget_animator_time_elapse
This commit is contained in:
parent
ab568c79a6
commit
8429d062f3
@ -7,6 +7,7 @@
|
||||
* 修复SDL 警告(感谢智明提供补丁)。
|
||||
* 完善 systembar 支持动态改变窗口的title和closable属性。
|
||||
* 修复 list\_view\_h 中spacing属性类型的问题(感谢尧燊提供补丁)
|
||||
* 修复 widget\_animator\_time\_elapse中的问题(感谢朝泽提供补丁)。
|
||||
|
||||
* 2020/02/20
|
||||
* 增加文档《如何集成第三方库》
|
||||
|
@ -73,7 +73,8 @@ ret_t widget_animator_time_elapse(widget_animator_t* animator, uint32_t delta_ti
|
||||
animator->delay = delay;
|
||||
return RET_OK;
|
||||
} else {
|
||||
animator->now = -elapsed_time;
|
||||
elapsed_time = -delay;
|
||||
animator->now = 0;
|
||||
animator->delay = 0;
|
||||
animator->start_time = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user