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

Fix trackpad code completion scrolling #97122

Merged

Conversation

adamscott
Copy link
Member

This PR makes it so that the code stops interpreting past the fact the gestures done inside the code completion window.

This PR also sets code_completion_pan_offset to 0 as otherwise, you could do multiple gestures past the beginning of the list or the end, and it would take time to "return" to the list afterwards, as there is no upper/lower limit to the offset.

Before

before.webm

After

after.webm

Fixes #94415

@adamscott adamscott added bug topic:editor cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release labels Sep 17, 2024
@adamscott adamscott requested a review from a team as a code owner September 17, 2024 16:55
@adamscott adamscott added this to the 4.4 milestone Sep 17, 2024
@akien-mga akien-mga requested a review from bruvzg September 18, 2024 10:01
@adamscott
Copy link
Member Author

cc. @bruvzg

@Repiteo Repiteo merged commit c220e5b into godotengine:master Oct 14, 2024
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Oct 14, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release topic:editor topic:gui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Script editor autocompletion popup does not accept scroll gestures
4 participants