Skip to content

[#2845] Replace fractional mouse_scroll_steps with per-element scroll speed calculations#2846

Open
oznogon wants to merge 1 commit intodaid:masterfrom
oznogon:2845-scroll-speed
Open

[#2845] Replace fractional mouse_scroll_steps with per-element scroll speed calculations#2846
oznogon wants to merge 1 commit intodaid:masterfrom
oznogon:2845-scroll-speed

Conversation

@oznogon
Copy link
Copy Markdown
Contributor

@oznogon oznogon commented Apr 8, 2026

Remove mouse_scroll_steps member from scrolling elements, which defaulted scrolling to increments of 1/25 of the total height. For elements with very small overflows, this made scrolling very slow.

For scrolling text elements, replace that with 3 * text_size (3 lines/increment). For listboxes, replace it with the button height (1 button/increment).

Fixes part of #2845 (slow scroll speeds).

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

Successfully merging this pull request may close these issues.

1 participant