summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-09-01 02:55:33 +0000
committerDavid Robillard <d@drobilla.net>2014-09-01 02:55:33 +0000
commitc9ce344351737e80576d63048fd04963a811b9b3 (patch)
tree53c93d2e86e25d1dfef73b8e5450eb44c3ea8814 /src
parent27d3c2b522c712e7ee6575cba2130c53338361fd (diff)
downloadganv-c9ce344351737e80576d63048fd04963a811b9b3.tar.gz
ganv-c9ce344351737e80576d63048fd04963a811b9b3.tar.bz2
ganv-c9ce344351737e80576d63048fd04963a811b9b3.zip
Fix unexpected node jumping when dragging new connections.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5463 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/Canvas.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Canvas.cpp b/src/Canvas.cpp
index c01021c..f1494a0 100644
--- a/src/Canvas.cpp
+++ b/src/Canvas.cpp
@@ -1513,6 +1513,8 @@ GanvCanvasImpl::port_event(GdkEvent* event, GanvPort* port)
}
ganv_port_set_control_value_internal(port, value);
return true;
+ } else if (port_dragging) {
+ return true;
}
break;