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

Improve the inspector easing editor #41103

Merged

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented Aug 7, 2020

  • Make it possible to drag a negative easing or an easing of 0 back to a positive value.
  • Clamp the value between -1000000 and 1000000 to avoid issues related to infinity.
  • Display more decimals for numbers closer to 0, less for large numbers.
  • Display trailing zeroes in decimals to avoid flickering when dragging.

This closes #18712 and closes #22079.

- Make it possible to drag a negative easing or an easing of 0 back to
  a positive value.
- Clamp the value between -1000000 and 1000000 to avoid issues
  related to infinity.
- Display more decimals for numbers closer to 0, less for large numbers.
- Display trailing zeroes in decimals to avoid flickering when dragging.

This closes godotengine#18712 and closes godotengine#22079.
@Calinou Calinou added cherrypick:3.x Considered for cherry-picking into a future 3.x release enhancement topic:editor usability labels Aug 7, 2020
@Calinou Calinou added this to the 4.0 milestone Aug 7, 2020
@Calinou Calinou added the bug label Aug 7, 2020
@akien-mga akien-mga merged commit 4ee779e into godotengine:master Aug 15, 2020
@akien-mga
Copy link
Member

Thanks!

@Calinou Calinou deleted the editor-improve-easing-inspector branch August 23, 2020 14:03
@akien-mga
Copy link
Member

Cherry-picked for 3.2.4.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

export (float, EASE) ZERO mode is misleading. Curve/easing editor allows dragging curve to infinity
2 participants