Skip to content
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

RTV guide shows desync with several small items #1

Open
RePod opened this issue Sep 20, 2017 · 0 comments
Open

RTV guide shows desync with several small items #1

RePod opened this issue Sep 20, 2017 · 0 comments

Comments

@RePod
Copy link
Collaborator

RePod commented Sep 20, 2017

Several small items have such an insignificant width after being calculated. When enough of these occur the desync becomes really obvious, and only grows along with how much is rendered on the playlist.

Main contributors:

  • padding and border properties for .show items (currently is 2px L/R and 1px L/R = 6px)
  • Current time density of 120px per 30 minutes: 1 minute = 4 pixels

Significant, wider items are not problematic due to box-sizing = border-box, their widths account for the additional padding and border.

Solutions:

  • Increase the default time density
    • Thus increasing the width of the guide
    • The code is already in place to just modify rtv.guide.config.markerWidth to see results
    • The only way to really win by doing this is ensuring at least 1 pixel per second, which is not fun
  • Make relevant small items harder, or impossible, to see by dropping padding/border
  • Reclaim the space by shortening wider items, they may come too late and only soft reset the problem
  • Ditch guide (no)
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

No branches or pull requests

1 participant