Skip to content

Implement EditorRangeDial on top of EditorSpinSlider #107645

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gongpha
Copy link
Contributor

@gongpha gongpha commented Jun 17, 2025

Supersedes #44654.
Closes godotengine/godot-proposals#1506.

2025-06-18.04-52-01-983.mp4

This dial-like ruler allows users to select a number with greater precision or the opposite. Unlike the current version, which allows dragging in the horizontal direction only. This method also utilizes the vertical axis for adjusting the level of precision. Useful for properties that need precision or larger steps (e.g. moving Node3D without gizmo, noise value)

This PR is WIP and currently only functions properly in single-window mode.

  • Fix jaggy snapping when reaching deepest precision
  • Make it work with non-single window mode
  • Fix the weird behavior when the CTRL key is pressed
  • More tests on other SpinSlider in the editor
  • Add docs

@gongpha gongpha force-pushed the precision-spin-slider branch from 917e15a to b58f756 Compare June 24, 2025 10:20
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.

Improve dragging float number fields in the inspector
2 participants