mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 01:06:01 +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();
|
||||
currentActivity = NodeActivity.Idle;
|
||||
} else if (e.button == 1) {
|
||||
} else if (e.button == 1 || e.button == 2) {
|
||||
if (!isPanning) {
|
||||
if (IsDraggingPort) {
|
||||
draggedOutputReroutes.Add(WindowToGridPosition(e.mousePosition));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user