-
Notifications
You must be signed in to change notification settings - Fork 13
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
feat: add force_seek_tooltip option #338
Conversation
force show seedkbar tooltip (ie: thumbnail) on mouse drag, even if not hovering seekbar, while holding down mouse button
There's some minor tweaks you could potentially add to this.
|
Could you elaborate? size effect and color effect are different. You said "despite all hover color effects being disabled". Disabling color doesn't affect sliders, as sliders only have size effects applied to them, nothing else. -- Apply size hover_effect only if hovering over the handle
if handle_hovered and user_opts.hover_effect_for_sliders then
if contains(user_opts.hover_effect, "size") then
rh = rh * (user_opts.hover_button_size / 100)
end
end |
My bad, I phrased that poorly. I used the color effects as a comparison, since none of the buttons change color when you're dragging seek handle (which is good) If the slider is being dragged, mousing over either of the handles probably shouldn't keep increasing the size of it. Perhaps it could have a static size while being dragged. Minor nitpicking 😅 |
Not at all, English is not my first language, sometimes my brain scrambles trying to understand simple things xD, my apologies and thank you for the detailed explanation. I'll try to think of an efficient way to fix the cosmetic issues you pointed out in a later PR. I don't want to rush it with a messy fix. Generally it shouldn't be difficult at all to handle them, especially that we can now track it more accurately with the Please don't hesitate to mention any other issues if found. I'll merge the PR sometime tomorrow, nevertheless, there is no rush in testing. |
Okay sounds good to me :D
I only did a basic testing so far but it seemed fine. It affects just the seekbar properly now. In your PR there's a small typo: "seedkbar" You may want to mention in the docs that this new option only works properly when bottomhover is disabled. |
Oops, nice catch. Thank you. |
No worries On second thought, it technically does work with bottom hover on or off, but it's a lot more effective with bottom hover off, since your mouse can drift anywhere and still show that info. I suppose the comment is not needed after all (sorry) haha but up to you :) |
Fixes: #306
Force show seekbar tooltip (ie: thumbnail) on mouse drag, even if not hovering seekbar, while holding down mouse button.
Changes
force_seek_tooltip
optionplayingWhilstSeeking
state toplaying_and_seeking
persistentprogresstoggle
state topersistent_progress_toggle
playingWhilstSeekingWaitingForEnd
playing_and_seeking
state independent and not tied tomouse_seek_pause
optionmouse_seek_pause
option when set tono
and mouse drag then release mouse buttonmouse_seek_pause
is set toyes
Usage