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

Drag response speed #1

Open
szk2s opened this issue Dec 2, 2021 · 3 comments
Open

Drag response speed #1

szk2s opened this issue Dec 2, 2021 · 3 comments

Comments

@szk2s
Copy link
Member

szk2s commented Dec 2, 2021

I feel that it is too slow for the drag gesture to update the gain value on screen.

@szk2s
Copy link
Member Author

szk2s commented Dec 3, 2021

@nick-thompson do you have any idea, similar experience, or another beta tester hitting some similar problems?

@nick-thompson
Copy link

Do you mean specifically that the gain value printed in the Cell doesn't update fast enough? Is that during the drag gesture or at the start/end? If you comment out the useEffect() hook that Elementary's core.render() runs in, then I think this feedback loop is strictly in React territory; does the problem persist there?

@szk2s
Copy link
Member Author

szk2s commented Dec 4, 2021

Do you mean specifically that the gain value printed in the Cell doesn't update fast enough?

Yes, exactly. It is so slow that the display looks freezed.

Is that during the drag gesture or at the start/end?

The problem occurs during the drag gesture.

If you comment out the useEffect() hook that Elementary's core.render() runs in, then I think this feedback loop is strictly in React territory; does the problem persist there?

If I comment out the useEffect(), it gets much smoother. It still feels a bit slow but acceptable. Please see the capture below.

Image from Gyazo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants