Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Druid.scroll freezes if held in one place for a long time #118

Closed
notbadgun opened this issue Jan 30, 2021 · 1 comment
Closed

Druid.scroll freezes if held in one place for a long time #118

notbadgun opened this issue Jan 30, 2021 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@notbadgun
Copy link

Describe the bug
The "druid.scroll" freezes if held in one place for a long time, if the FRICT_HOLD is less than 0.5
The rest of the style settings are like this:

ANIM_SPEED = 0.2, -- gui.animation speed to point
BACK_SPEED = 0.35, -- Lerp speed of return to soft position
FRICT = 0.83, -- mult for free inert
FRICT_HOLD = 0.49, -- mult. for inert, while touching
INERT_THRESHOLD = 20, -- speed to stop inertion
INERT_SPEED = 70, -- koef. of inert speed
EXTRA_STRETCH_SIZE = 20, -- extra size in pixels outside of scroll (stretch effect)
POINTS_DEADZONE = 20, -- Speed to check points of interests in no_inertion mode
SCROLL_WHEEL_SPEED = 20,
SMALL_CONTENT_SCROLL = true, -- If true, content node with size less than view node size can be scrolled

To Reproduce
Set the style settings as above.

Demo1:
https://user-images.githubusercontent.com/13905665/106368038-bda5db00-6357-11eb-9f92-3506c35e5279.mp4

Demo2:
https://user-images.githubusercontent.com/13905665/106368277-81737a00-6359-11eb-979d-bc6dc0017c43.mp4

@Insality Insality self-assigned this Jan 31, 2021
@Insality Insality added the bug Something isn't working label Jan 31, 2021
@Insality Insality added this to the 0.6.0 milestone Jan 31, 2021
@Insality
Copy link
Owner

Insality commented Apr 1, 2021

it should be fixed in #43, already in develop branch

@Insality Insality closed this as completed Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants