#142 Add WHEEL_SCROLL_BY_INERTION Scroll style param

This commit is contained in:
Insality
2021-10-23 17:10:15 +03:00
parent d24301cd13
commit 009c3999c4
3 changed files with 25 additions and 7 deletions

View File

@@ -73,8 +73,9 @@ M["scroll"] = {
INERT_SPEED = 30, -- koef. of inert speed
EXTRA_STRETCH_SIZE = 100, -- extra size in pixels outside of scroll (stretch effect)
POINTS_DEADZONE = 20, -- Speed to check points of interests in no_inertion mode
WHEEL_SCROLL_SPEED = 0,
WHEEL_SCROLL_INVERTED = false,
WHEEL_SCROLL_SPEED = 0, -- Amount of pixels to scroll by one wheel event (0 to disable)
WHEEL_SCROLL_INVERTED = false, -- Boolean to invert wheel scroll side
WHEEL_SCROLL_BY_INERTION = false, -- If true, wheel will add inertion to scroll. Direct set position otherwise.
SMALL_CONTENT_SCROLL = true, -- If true, content node with size less than view node size can be scrolled
}