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

Text editor v_scroll_speed setting can break mouse wheel scrolling #58009

Closed
jmb462 opened this issue Feb 12, 2022 · 0 comments · Fixed by #58010
Closed

Text editor v_scroll_speed setting can break mouse wheel scrolling #58009

jmb462 opened this issue Feb 12, 2022 · 0 comments · Fixed by #58010

Comments

@jmb462
Copy link
Contributor

jmb462 commented Feb 12, 2022

Godot version

b50ec37

System information

Windows 10

Issue description

Some values of text_editor/behavior/navigation/v_scroll_speed Editor settings breaks mouse wheel scrolling of TextEdit.

If the value is lesser than 8, no scrolling occurs.

If the value is set to a negative value, scrolling is broken as it scrolls to the bad side and never reach the target scroll value until the top or bottom of the script.

Steps to reproduce

Open any long script (you can copy/paste the default template multiples time as it don't have to be valid script)

In Editor Settings, change the value of text_editor/behavior/navigation/v_scroll_speed :

  • to a negative value : mouse wheel scroll don't work anymore (scrolls until the top or the bottom of file)
  • to a value under 8 : no scroll at all.

Minimal reproduction project

Not needed

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

Successfully merging a pull request may close this issue.

2 participants