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

fix(marker-display): error when changing resource #13

Merged
merged 1 commit into from
Jan 28, 2024

Conversation

amtins
Copy link
Owner

@amtins amtins commented Jan 28, 2024

Description

Fix #12 which occurred when loading resource after starting playback. This bug didn't cause any component malfunctions, apart from displaying errors in the console.

Changes made

  • adds a guard clause to updateMarker to update the marker only if getClientRects is not empty

@amtins amtins force-pushed the fix/12-error-when-changing-source-during-playback branch from 122951d to 7507881 Compare January 28, 2024 14:48
Fix #12 which occurred when loading resource after starting playback. This bug
didn't cause any component malfunctions, apart from displaying errors in the
console.

- adds a guard clause to `updateMarker` to update the marker only if
`getClientRects` is not empty
@amtins amtins force-pushed the fix/12-error-when-changing-source-during-playback branch from 7507881 to e8474d6 Compare January 28, 2024 14:50
@amtins amtins merged commit d8e4ce5 into main Jan 28, 2024
@amtins amtins deleted the fix/12-error-when-changing-source-during-playback branch January 28, 2024 14:50
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.

Error when changing source during playback
1 participant