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

feat(markers-display): displays the marker buffer #9

Merged
merged 1 commit into from
Jan 13, 2024

Conversation

amtins
Copy link
Owner

@amtins amtins commented Jan 13, 2024

Description

This feature modifies the MarkerDisplay class to add support for displaying and updating the marker buffer at every progress event.

Screencast.from.01-13-24.16.46.24.webm

Changes made

  • modifies the updateMarker function to take a time and a css variable as parameters
  • adds the updateMarkerBuffered function, which uses updateMarker to update the marker buffer
  • adds the updateMarkerPlayed function, which uses updateMarker to update the played marker
  • renames the css variable used to update the marker's buffering percentage
  • redefines the default color of --cst-marker-buffered-background-color

This feature modifies the `MarkerDisplay` class to add support for displaying and
updating the marker buffer at every progress event.

- modifies the `updateMarker` function to take a `time` and a `css variable`
as parameters
- adds the `updateMarkerBuffered` function, which uses `updateMarker` to update
the marker buffer
- adds the `updateMarkerPlayed` function, which uses `updateMarker` to update
the played marker
- renames the `css variable` used to update the marker's buffering percentage
- redefines the default color of `--cst-marker-buffered-background-color`
@amtins amtins merged commit 8e2e91c into main Jan 13, 2024
@amtins amtins deleted the feat/marker-buffered branch January 13, 2024 15:48
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

Successfully merging this pull request may close these issues.

1 participant