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

Editor: Replace TextEdit with EditorSpinSlider for XR Action Set Priority #104461

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

Conversation

lodetrick
Copy link
Contributor

@lodetrick lodetrick commented Mar 21, 2025

In the editor UI for Action Sets, the priority of an Action Set is currently changed with a TextEdit node, this commit changes it to an EditorSpinSlider. This clarifies the internal structure of the Action Set by making it clear inside the editor that the priority is an integer.

In order to test this change, create a new project and go to Project Settings -> XR -> OpenXR -> Enabled, and enable XR. This should create a tab on the bottom bar labeled "OpenXR Action Map." This tab is where the change is visible, directly to the left of the plus button in the Godot action set.

Before the change:
Image of the TextEdit with the rest of the UI

After the change:
Image of the EditorSpinSlider with the rest of the UI

@lodetrick lodetrick requested a review from a team as a code owner March 21, 2025 23:16
@lodetrick lodetrick changed the title Replace TextEdit with EditorSpinSlider for Action Set Priority in Editor Editor: Replace TextEdit with EditorSpinSlider for Action Set Priority Mar 21, 2025
@lodetrick lodetrick changed the title Editor: Replace TextEdit with EditorSpinSlider for Action Set Priority Editor: Replace TextEdit with EditorSpinSlider for XR Action Set Priority Mar 21, 2025
@Calinou Calinou added this to the 4.x milestone Mar 21, 2025
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.

2 participants