miroiu / nodify

Highly performant and modular controls for node-based editors designed for data-binding and MVVM.
https://miroiu.github.io/nodify
MIT License
1.38k stars 224 forks source link

Pan using mouse wheel #147

Closed miroiu closed 22 hours ago

miroiu commented 1 week ago

📝 Description of the Change

Allow panning using mouse wheel.

EditorGestures.Editor:

[!WARNING] Setting PanWithMouseWheel to true will not allow zooming using the mouse wheel unless the ZoomModifierKey is different than ModifierKeys.None or PanVerticalModifierKey and PanHorizontalModifierKey are both different than ModifierKeys.None.

🐛 Possible Drawbacks

None that I can think of.

Related: #146