-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
[Question] Map panning to left mouse button #103
Comments
Hi! You should be able to modify the gestures at runtime, however it seems that the select gesture property is missing the setter. I'll create a PR to address that. Do you build from the source code or from the nuget package? |
I use the NuGet package |
I created the PR and, it looks like not all the gestures were customizable at runtime, especially the ones used for the |
Based on the description of the PR, this looks perfect. I shall do some testing today and let you know. |
I merged the PR and will push a new release to NuGet soon. Please feel free to reopen the issue if needed. |
I want to allow users to pan within the node editor using the left mouse button.
Similarly to, e.g., Blender's tool selection that modifies what the left mouse button does, I wish to introduce three tools for operating the node editor:
I've found that the
EditorGestures
class is public; thus, it is possible to modify the default gestures to something custom.However, I couldn't figure out how to detach the selection from the left click.
I've tried the following:
Could you please point me in the right direction?
Given how these gestures are implemented, I'd assume it should be fine to modify them during the runtime.
Is that correct?
The text was updated successfully, but these errors were encountered: