mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-23 15:56:59 +08:00
Make scroll animation timing configurable via defines (#9160)
This commit is contained in:
@@ -18,8 +18,12 @@
|
||||
* DEFINES
|
||||
*********************/
|
||||
#define MY_CLASS (&lv_obj_class)
|
||||
#define SCROLL_ANIM_TIME_MIN 200 /*ms*/
|
||||
#define SCROLL_ANIM_TIME_MAX 400 /*ms*/
|
||||
#ifndef SCROLL_ANIM_TIME_MIN
|
||||
#define SCROLL_ANIM_TIME_MIN 200 /*ms*/
|
||||
#endif
|
||||
#ifndef SCROLL_ANIM_TIME_MAX
|
||||
#define SCROLL_ANIM_TIME_MAX 400 /*ms*/
|
||||
#endif
|
||||
#define SCROLLBAR_MIN_SIZE (LV_DPX(10))
|
||||
|
||||
/**********************
|
||||
|
||||
Reference in New Issue
Block a user