Scroll progress. Previous API returing in process

This commit is contained in:
Insality
2020-05-03 19:36:28 +03:00
parent baf731958f
commit 99781f333d
6 changed files with 600 additions and 73 deletions

View File

@@ -51,6 +51,7 @@ M["drag"] = {
M["scroll"] = {
ANIM_SPEED = 0.3, -- gui.animation speed to point
SCROLL_WHEEL_SPEED = 10,
DEADZONE = 20,
FRICT = 0.94, -- mult for free inert
FRICT_HOLD = 0.75, -- mult. for inert, while touching
@@ -59,7 +60,7 @@ M["scroll"] = {
BACK_SPEED = 0.35, -- Lerp speed of return to soft position
EXTRA_STRECH_SIZE = vmath.vector4(-100, 100, 100, -100), -- size of outside zone (back move)
EXTRA_STRECH_SIZE = 100, -- size of outside zone (back move)
}