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

Add an editor setting to adjust the property value dragging sensitivity in the inspector #3017

Closed
elvisish opened this issue Jul 20, 2021 · 9 comments · Fixed by godotengine/godot#50671

Comments

@elvisish
Copy link

Describe the project you are working on

General editor use.

Describe the problem or limitation you are having in your project

Dragging an inspector value in the editor steps it up/down in tiny increments, there should be a setting that allows the user to customize the amount the value is increased/decreased.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

For isntance, it makes it so the user doesn't have to drag the mouse the equivalent distance of 3km to adjust a transform position by 100 pixels.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

image
image
image

If this enhancement will not be used often, can it be worked around with a few lines of script?

No, it must be editor-side.

Is there a reason why this should be core and not an add-on in the asset library?

Because it should be in the settings menu.

@Calinou

This comment has been minimized.

@Calinou Calinou marked this as a duplicate of #2760 Jul 20, 2021
@Calinou Calinou closed this as completed Jul 20, 2021
@elvisish

This comment has been minimized.

@Calinou

This comment has been minimized.

@winston-yallow

This comment has been minimized.

@Calinou Calinou reopened this Jul 20, 2021
@Calinou Calinou removed the archived label Jul 20, 2021
@Calinou Calinou changed the title Setting to allow adjustable editor value step amount increase/decrease using mouse drag Add an editor setting to adjust the property value dragging sensitivity in the inspector Jul 20, 2021
@Calinou

This comment has been minimized.

@winston-yallow
Copy link

winston-yallow commented Jul 20, 2021

That should not make it go faster, it still does the same grabbing_spinner_dist_cache += diff_x; in that case. The value is only rounded for the set_value() call, not for the internal cache. So the speed should stay the same.

Edit: I must correct myself, while looking more into the code it seems like it is hardcoded to be 10 times faster. This just wasn't really noticeable with the slow base speed before.

@elvisish
Copy link
Author

elvisish commented Jul 20, 2021

We try to favor usability patterns that can work automatically, without requiring users to adjust settings that will work well for some properties and poorly for others. Nobody wants to spend hours tweaking editor settings depending on what they're doing

This would suggest to me that the base speed needs increasing as a default (since it is practically unusable in its current form), then no one would have to tweak a setting if they didn’t want to, but the option should still be made available for the few users who might (as with most settings, you’ll notice there are many settings in godot that aren’t required to be adjusted, yet can be if needs be).

Note that holding down Ctrl generally makes dragging go faster with float values, since it snaps the value to integers.

Try it, it does not make it go faster (if anything it makes it go slower)

@elvisish
Copy link
Author

Was this added?

@Calinou
Copy link
Member

Calinou commented Aug 31, 2021

Was this added?

No, as godotengine/godot#50671 wasn't merged yet.

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.

5 participants