mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-21 01:36:03 +08:00
Panning was kept active if you used the middle button(button2) for panning.
This commit is contained in:
parent
51bb98b4d1
commit
efa44d2637
@ -231,7 +231,7 @@ namespace XNodeEditor {
|
|||||||
|
|
||||||
Repaint();
|
Repaint();
|
||||||
currentActivity = NodeActivity.Idle;
|
currentActivity = NodeActivity.Idle;
|
||||||
} else if (e.button == 1) {
|
} else if (e.button == 1 || e.button == 2) {
|
||||||
if (!isPanning) {
|
if (!isPanning) {
|
||||||
if (IsDraggingPort) {
|
if (IsDraggingPort) {
|
||||||
draggedOutputReroutes.Add(WindowToGridPosition(e.mousePosition));
|
draggedOutputReroutes.Add(WindowToGridPosition(e.mousePosition));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user