-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Add "+/-" shortkeys to edit variables in inspector #29
Comments
Sometimes I found it difficult to hit the right arrow (no pun intended!). |
How would the behaviour work if the user selects inside of the field (like text)? Currently, it literally types a '+' or '-' which a lot of users need to input math (Like '200+10' which is later evaluated) |
Perhaps using the up and down keys would work better then? |
In a normal way I suppose, this feature shouldn't work while editing value and should work only with integers. If you press increment/decrement buttons it will select field, but not edit it.
Shift + Up/Down seems free (it used to change nodes position in scene editing, but it isn't work while using an inspector). |
you can:
i think the functionality to modify an |
Usually when you need the arrow buttons, you use them at least 3-5 times. It will improve user experience, if simple action like this could be accomplished without using mouse. There are a lot of mini improvements in editing experience, like delete button in the Inspector affect selected node, not selected value-field, but for them issues already created. |
Imagine I have to seed a value from inspector while the game is running. It's simply not as easy to control the exact number of increments/decrements with mouse movement, you could accidentally go through in-between values which would lead to unnecessary generation steps which could take a while (this could be optimized but that not the point here). And there's not enough space on the mouse pad to keep changing the value infinitely. 🙂 |
i think clicking inside the int field, then using arrow keys is ideal, if you want keyboard precision. +/- would imo hurt the user experience, cause some keyboards don't have the numpad, and if they don't, the user has to hold shift. |
Clicking inside the field and using the arrow keys is totally what I do every time (even if it doesn't work) because I'm used to doing exactly that within the web inspector while working on websites. You select a CSS value, press the I would love to see this implemented so my muscle memory works when I use Godot. I'll try to get it done 💪 |
Quoting my response in discussion from PR to issue for potential discussing:
|
This comment has been minimized.
This comment has been minimized.
@rshea0 Please don't bump issues if you just want to support the idea, use the 👍 reaction on the post instead. |
Describe enhancement of the existing feature:
To change integer value in the Inspector you can:
It would be great, if you can increment/decrement integer values using keyboard, like:
Now if you use up/down keys when you are editing the field it will set cursor position to begin/end of value (Which is not that useful in my opinion.)
As title says, this issue is about "+/-" short-keys, but in discussion below @girng suggested a better way.
I can't change the issue title.
The text was updated successfully, but these errors were encountered: