Being able to set what mouse buttons triggers get_drag_data() -- Currently hardcoded to left click #7397
Saltlight-Studio
started this conversation in
GUI
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
currently the get_drag_data() function in controls is only called on left mouse click,
this makes an otherwise very handy system oddly rigid and unmodifiable for the intended purposes.
I propose that one would have a setting in
Input Devices -> Pointing.
to activate data dragging on right click too.
Something like:
[X] "drag_data on mouse left" -- This being set as default
[ ] "drag data on mouse right"
You should be able to set it so both can trigger it, in addition to turning off both.
An even more ideal version would be to be able to be able to set this up within Input Maps, though mouse left and right seems like priorities for now.
I imagine this could also help saving slightly on performance if ones project does not need the drag_data() functionality.
Beta Was this translation helpful? Give feedback.
All reactions