-
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 more chapter marker styles with nibbles_style #277
feat: add more chapter marker styles with nibbles_style #277
Conversation
What about making the bars transparent similar to YouTube's player? Nibbles follow the seekbar color (mentioned in #243) but maybe we can override it. |
I don't think setting nibbles transparent will be able to break down the seekbar as Youtube does. Maybe setting a different color from the seekbar would make it feel like so. Alternatively we can draw seekbar itself in segments, which doesn't feel very straightforward to implement. |
Beautiful work, thank you very much. Though if I may, I have an input I'd like to share. To be exact, I 100% know that mpv users will request this adjustment. The rectangle marker splits through the seek bar, as it is drawn as one element. Why not follow the triangle nibbles way and make it top/bottom thin squares or rectangles? This would:
|
It is unfortunately one of the downsides of trying to please everyone. I genuinely agree with you, but over the last 6 years I've seen enough reports from users to know how sometimes even the smallest change can be contested. A good example on mpv repo itself, it took months and over 90+ comments (and one closed PR), to agree on a font size change for console. I am in no way saying it wasn't a valid discussion, I'm merely pointing out that I know this will be requested at one point or the other. It is why I generally tend to do personal preference as optional as possible. In this case, the two nibbles behavior. If you want to keep it strike through, then it needs to be added as a third style option, if that makes sense. Otherwise, you'll be facing many requests for adjustments, and as we can see in #239 a delay or abandoned status can easily happen. |
…st math instead of hard-coding sizes
Makes sense to me! Added bar and single-bar styles to implement the two styles shown in above screenshots. |
Absolutely perfect. Thank you very much for your effort and open mind in regards to the adjustments. Will merge now. I can already feel the feature request being made "make it so we can control nibbles color!" 😆 |
Two styles:
Also slider gap should be computed from seekbar background height and seekbar height instead of redefining.