Skip to content

Time zooming should anchor around the current moment #231

@gaearon

Description

@gaearon

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions