mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-01 08:54:52 +08:00
Make scroll animation timing configurable via defines (#9160)
This commit is contained in:
@@ -18,8 +18,12 @@
|
|||||||
* DEFINES
|
* DEFINES
|
||||||
*********************/
|
*********************/
|
||||||
#define MY_CLASS (&lv_obj_class)
|
#define MY_CLASS (&lv_obj_class)
|
||||||
#define SCROLL_ANIM_TIME_MIN 200 /*ms*/
|
#ifndef SCROLL_ANIM_TIME_MIN
|
||||||
#define SCROLL_ANIM_TIME_MAX 400 /*ms*/
|
#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))
|
#define SCROLLBAR_MIN_SIZE (LV_DPX(10))
|
||||||
|
|
||||||
/**********************
|
/**********************
|
||||||
|
|||||||
Reference in New Issue
Block a user