You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to set zoom on drag and pan together?
I want to have quick orientation by selecting via drag and fine tuning the selection by panning.
Currently if you set both zoom.drag true and pan then you can't pan cause the zoom drag always works.
Can we add like pan on left drag and zoom drag on rightclick drag or wheelclick and drag?
The text was updated successfully, but these errors were encountered:
Actually when I set both, I can zoom by making a drag and drop which defines my zooming area. At the same time dragging translate the view which makes sense as both are triggered by the same mouse event.
So I asked myself how is it implemented in famous diagram edition software solutions? I had a look on InkScape: the drag and drop is set by default for selection and they use window slide bars for translating the view. For instance, in Yed Graph editor they toggle the drag and drop from 'select' to 'translate view' with a button in the toolbar.
So, I guess I'm going to implement something like that.
However, I was surprised that enabling the 'drag zooming' disables the 'wheel zooming'.
Is there a way to set zoom on drag and pan together?
I want to have quick orientation by selecting via drag and fine tuning the selection by panning.
Currently if you set both zoom.drag true and pan then you can't pan cause the zoom drag always works.
Can we add like pan on left drag and zoom drag on rightclick drag or wheelclick and drag?
The text was updated successfully, but these errors were encountered: