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

Make AnimationPlayer editor zoom on the current cursor position instead of the beginning of the track #6204

Closed
CookieBadger opened this issue Jan 29, 2023 · 1 comment

Comments

@CookieBadger
Copy link

Describe the project you are working on

A 2D rythm-platformer (it's complicated)

Describe the problem or limitation you are having in your project

Currently, there are several issues, that constantly throw me and my colleagues off when using the Animation Player. I think it could use some usability improvements. One of them is the Zoom tool.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

The Zoom tool (or CTRL+Mouse wheel) should zoom in on the current position, not the beginning of the track as it does right now. The current behavior is bad UX, any other timeline-based editing tool (animations, video, audio, etc.) zooms in on the cursor position, because that way you can zoom in onto the thing you are currently working on.

214716432-f7cbd59e-de5b-472b-b07e-32dbb09b3820

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

After zooming in one step (with the UI slider, or with the mouse wheel), move the scroll position, such that the cursor is centered.

If this enhancement will not be used often, can it be worked around with a few lines of script?

This is used very often.

Is there a reason why this should be core and not an add-on in the asset library?

AnimationPlayer is core.

@Calinou Calinou changed the title Animation Timeline Zoom in on Cursor Make AnimationPlayer editor zoom on the current cursor position instead of the beginning of the track Jan 29, 2023
@akien-mga akien-mga added this to the 4.3 milestone Jan 8, 2024
@akien-mga
Copy link
Member

Implemented by godotengine/godot#85142

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants