Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: use primary_click for chapter indicators #932

Merged

Conversation

christoph-heinrich
Copy link
Contributor

Listening to primary_down, but not listening to the primary_up event leads to that up event getting forwarded. Listening to primary_click instead avoids that problem.

Seeking chapters now happens on button up instead of button down, but that shouldn't be a problem for anyone and makes their behavior consistent with other clickable UI elements.

ref. #931

Listening to `primary_down`, but not listening to the `primary_up` event
leads to that `up` event getting forwarded. Listening to `primary_click`
instead avoids that problem.

Seeking chapters now happens on button up instead of button down, but
that shouldn't be a problem for anyone and makes their behavior
consistent with other clickable UI elements.

ref. tomasklaen#931
@tomasklaen tomasklaen merged commit 9fa7220 into tomasklaen:main Jul 12, 2024
@christoph-heinrich christoph-heinrich deleted the handle_btn_up_chapters branch July 12, 2024 21:54
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants