Skip to content

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

Merged
daid merged 1 commit intodaid:masterfrom
oznogon:2845-scroll-speed
Apr 10, 2026
Merged

[#2845] Replace fractional mouse_scroll_steps with per-element scroll speed calculations#2846
daid merged 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).

@daid daid merged commit 3d78b48 into daid:master Apr 10, 2026
5 checks passed
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.

2 participants