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

Animation window: creating new animation beyond bottom of scrollview doesn't auto-scroll to bottom #74185

Closed
hsandt opened this issue Mar 1, 2023 · 1 comment · Fixed by #79743

Comments

@hsandt
Copy link
Contributor

hsandt commented Mar 1, 2023

Godot version

v4.0.stable.official [92bee43]

System information

Linux Ubuntu 20.04 with Unity desktop

Issue description

In the Animation window of the AnimationPlayer, when you create a new animation after many have been created, and scrollbar is not at the bottom, the new animation ends up in the hidden area at the bottom.

Usually in apps, this would auto-scroll the scroll view to the bottom, but currently it only focuses the new animation, so you still have to scroll down to the bottom manually (a trick is to press keyboard Up arrow to focus the element above, scrolling you down then press Down arrow to select the new animation). This is the trick I use in the GIF below:

Godot 4 0 - new animation doesnt auto-scroll to bottom

Steps to reproduce

  1. Create new Animation resource with many animations (enough to cover the whole height of the scroll view)
  2. Add yet another animation
  3. Bonus: press Up and Down arrow key as a trick. Or just scroll down with the mouse.

Minimal reproduction project

N/A

@Calinou
Copy link
Member

Calinou commented Mar 21, 2023

This should be easy to do by enabling autoscroll on the ItemList (I don't know if this exists), or by scrolling to the bottom when creating a new animation.

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

Successfully merging a pull request may close this issue.

3 participants