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

Fixing loop setting. #535

Merged
merged 7 commits into from
Jul 16, 2024
Merged

Fixing loop setting. #535

merged 7 commits into from
Jul 16, 2024

Conversation

0x7B5
Copy link
Contributor

@0x7B5 0x7B5 commented Jun 25, 2024

Fixes #534

Copy link

github-actions bot commented Jun 25, 2024

Welcome to connect! Make sure to:

  • read the contributing guidelines
  • mark your PR as a draft until it's ready to review
  • post the preview on Discord; feedback from users will speedup the PR review

deployed preview: https://535.connect-d5y.pages.dev

@0x7B5 0x7B5 marked this pull request as ready for review June 25, 2024 17:56
Comment on lines 309 to 313

state.loop = {
startTime: state.zoom.start,
duration: state.zoom.end - state.zoom.start,
};
Copy link
Contributor

@sshane sshane Jul 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this is only masking over the problem, in that popTimelineRange isn't used the same way when using the browser back buttons, but adding an event listener seems to make the behavior even more buggy

@sshane
Copy link
Contributor

sshane commented Jul 16, 2024

this is also a reminder that we should not have zoom and loop in new-connect @incognitojam. I haven't taken a real look into why we need each, but surface level it seems that they are very similar, confusing to work with, and can be combined in most cases

@sshane sshane merged commit b6464b6 into commaai:master Jul 16, 2024
3 checks passed
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.

can't seek after exiting zoom with mouse back button
2 participants