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

Time zooming should anchor around the current moment #231

Open
gaearon opened this issue Apr 2, 2022 · 1 comment
Open

Time zooming should anchor around the current moment #231

gaearon opened this issue Apr 2, 2022 · 1 comment

Comments

@gaearon
Copy link
Contributor

gaearon commented Apr 2, 2022

Environment

  • Your version (in package.json) or git commit hash: 2cea0fd
  • Your operating system and version: macOS

Steps to reproduce (for bugs only)

  1. Switch between different "20 years", "2 years", "3 months", etc

Current Behavior

The "time zoom" seems to be anchored around the middle of the time bar. E.g. if the middle of the timebar is November 2015, the "zoomed in" version will also use November 2015.

Untitled.mov

I believe that this is confusing because switching between two time zoom levels often causes you to completely "lose track" of the currently visible (or even selected) events.

Expected Behavior

I would suggest that the horizontal red line which represents the "selected moment" is used as the anchor when switching time zoom levels. In other words, when you switch the time zoom levels, I expect the red line to stay in the same position. This is analogous to how time zooming typically works in e.g. audio editors like Ableton.


Disclaimer: I'm not using the tool. It's just something I noticed that I might have interest in fixing.

@breezykermo
Copy link
Member

Yes, I agree that this is a desirable functionality: selected events should stay center-screen when moving between zoom levels on the timeline. I'd welcome a PR along these lines.

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

2 participants