Skip to content

sdl: fix scrolling when fractional values are involved#15077

Merged
Frenzie merged 1 commit into
koreader:masterfrom
benoit-pierre:pr/fix_sdl_scroll
Mar 6, 2026
Merged

sdl: fix scrolling when fractional values are involved#15077
Frenzie merged 1 commit into
koreader:masterfrom
benoit-pierre:pr/fix_sdl_scroll

Conversation

@benoit-pierre

@benoit-pierre benoit-pierre commented Mar 6, 2026

Copy link
Copy Markdown
Member

Use accumulated whole scroll "ticks" in mouse wheel events.


This change is Reviewable

@benoit-pierre

Copy link
Copy Markdown
Member Author

Depend on koreader/koreader-base#2288.

Use accumulated whole scroll "ticks" in mouse wheel events.
@benoit-pierre benoit-pierre marked this pull request as ready for review March 6, 2026 17:40
@Frenzie Frenzie added this to the 2026.02 milestone Mar 6, 2026
@Frenzie Frenzie merged commit 42aaa20 into koreader:master Mar 6, 2026
4 checks passed
@Frenzie

Frenzie commented Mar 6, 2026

Copy link
Copy Markdown
Member

I like the precision for some use cases but of course I wrote the original code without it in mind.

@benoit-pierre benoit-pierre deleted the pr/fix_sdl_scroll branch March 6, 2026 23:38
0xstillb pushed a commit to 0xstillb/koreader-thai that referenced this pull request May 9, 2026
Use accumulated whole scroll "ticks" in mouse wheel events.
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