-
Notifications
You must be signed in to change notification settings - Fork 9
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 element display and position options #298
Conversation
Useful for controlling font size and adjusting the position of affected elements if the font size or type make the appearance of some elements unpleasant.
With the seekbar hover timecodes, how do we move that up? can it be an option? :) |
Mouse clicks are going through the title and chapter title because the |
This would go with the new adjustments, right? local osc_height_offset = (no_title and 25 or 0) + ((no_chapter or not chapter_index) and 10 or 0) |
Sweet, I'll check on it later today. Thanks. Our time zones must be not aligned very well (it's 9am) haha. |
😱 6 PM for me lol. Take all the time you need, no rush at all. |
I know it sounds nitpicky but maybe the OSC height offset approach can take into account the new options for height you added? title_height=96 I'm assuming the offset values you mentioned above wouldn't work if someone was adding additional height to these new options. |
Shouldn't be a problem at all. Will add offsets for title, chapter title and seek hover timecodes soon. |
# osc height offset if title above seekbar is disabled
notitle_osc_h_offset=25
# osc height offset if chapter title is disabled or doesn't exist
nochapter_osc_h_offset=10
# seek hover timecodes tooltip height position offset
seek_hover_tooltip_h_offset=0 |
I found that using these defaults relieve all of the overlapping.
Perhaps the overall height (line 1654) should be adjustable too since I was having issues with it being slightly too tall when both titles were disabled. Wasn't able to fix that. |
Are you using h = user_opts.title_font_size
Can add
In your testing, 14 was better than 10 in default values or in your specific config? |
Added |
There is basically a small pixel where clicking the title or chapter title while hovering it doesn't act on the title itself: explorer_3jIKCgtUlK.mp4So you have to actually decrease these offsets to remedy that:
Only small issue left is if you have both titles disabled:
|
Awesome, thank you so much for testing and finding the appropriate values, will confirm and apply shortly. Should this change be made?
Are you using h = user_opts.title_font_size |
I was using the default 24, but after some brief testing this change would be good to have. You could change both of these h = user_opts.title_font_size |
Done. Thanks again for all the tests. Let me know if there is anything that needs adjusting. No rush at all. |
Crap I forgot to test with both things enabled. I would make this change instead and undo the offset changes I mentioned (sorry lol)
|
😆 yeah, that's why I was confused when I asked earlier. No worries at all, adjusted to the new values: 25, 10, 132 |
For a default what do you think about: |
Of course, sounds good. Did you find a fix for #294 (comment) ? |
It's a niche scenario that can be fixed by adjusting Any further adjustments would honestly be a bloat to address possible timecode values, font type and size. |
Fixes: #295
Useful for controlling font size and adjusting the position of affected elements if the font size or type make the appearance of some elements unpleasant.
Changes:
chapter_title_font_size
optiontooltip_font_size
option