Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
140 stars 2 forks source link

Disable AllowDrag on inspector's context menus #707

Open shadowpanther opened 1 year ago

shadowpanther commented 1 year ago

Is your feature request related to a problem? Please describe.

I'm always frustrated when I have to scroll a long list of components in Inspector (for example, an avatar's root slot), accidentally starting the next scroll drag on the small field menu button and instantly flicking the menu that pops up to set the field to the default value. If that happens on the Rig's drive list, the drive would be null'd instantly.

And there's no Undo to this action. Meaning I have to find whatever I've just disconnected and reconnect it or reload the avatar.

This also happens often when scrolling past a Texture component that has almost full screen of buttons.

Describe the solution you'd like

Disable AllowDrag in the menu that pops up when clicking the field button. This would save users from accidentally clearing values while scrolling.

Describe alternatives you've considered

Add an Undo step for setting the field to the default value like this. This would allow to at least quickly fix the error.

Add a scroll bar to the inspectors. This would remove the necessity to scroll by click-dragging a pane full of buttons that could be easily clicked.

Additional Context

No response

shiftyscales commented 10 months ago

This is feedback that could be considered during #563 I think.