docs(scroll): use LV_DIR_VER instead of LV_DIR_TOP (#3066)

Bad usage of LV_DIR_TOP
This commit is contained in:
GoT
2022-02-07 17:33:54 +01:00
committed by GitHub
parent 2c7760c687
commit 78966f5cc4

View File

@@ -81,7 +81,7 @@ The following values are possible for the direction:
- `LV_DIR_BOTTOM` only scroll down
- `LV_DIR_RIGHT` only scroll right
- `LV_DIR_HOR` only scroll horizontally
- `LV_DIR_TOP` only scroll vertically
- `LV_DIR_VER` only scroll vertically
- `LV_DIR_ALL` scroll any directions
OR-ed values are also possible. E.g. `LV_DIR_TOP | LV_DIR_LEFT`.