-
Notifications
You must be signed in to change notification settings - Fork 4
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
An option to control speed of auto pan #1
Comments
We have no variable to control the speed of auto panning. On node drag we check if any side of the node exceed any side of canvas bounds and if it exceeds we calculate extents of that exceed and pan the core by that extents. |
We can add a multiplier (defaulting to 1.0) to control the extent amount though, right? |
@ugurdogrusoz Do you mean we can multiply the calculated extends with this multiplier and then pan by the multiplication? I think that I can add such an option. Do you have a suggestion for the name of this option? |
I think speed would be a good name |
@ugurdogrusoz I added 'speed' option as discussed in this issue. If there is no problem with this I can release new version. |
Works like a charm |
Can we add an option to control the speed of auto panning?
The text was updated successfully, but these errors were encountered: