diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | src/Canvas.cpp | 5 |
2 files changed, 2 insertions, 6 deletions
@@ -2,6 +2,7 @@ ganv (1.5.0) unstable; * Fix positioning of embedded widgets when changing layout. * Fix unexpected node jumping when dragging new connections. + * Preserve selection for quickly making several connections. * Add support for PDF and PS export. * Improve text rendering at high zoom. * Fix various minor visual alignment/sizing issues. @@ -9,7 +10,7 @@ ganv (1.5.0) unstable; * Fix compilation with --no-fdgl (patch from Vlad Glagolev). * Fix crash when destroying canvas. - -- David Robillard <d@drobilla.net> Tue, 10 Feb 2015 23:58:57 -0500 + -- David Robillard <d@drobilla.net> Sun, 15 Feb 2015 21:59:18 -0500 ganv (1.4.2) stable; diff --git a/src/Canvas.cpp b/src/Canvas.cpp index c3ed2f6..d193108 100644 --- a/src/Canvas.cpp +++ b/src/Canvas.cpp @@ -1385,17 +1385,14 @@ GanvCanvasImpl::connect_drag_handler(GdkEvent* event) } else { // Connect to selected ports selection_joined_with(_connect_port); - unselect_ports(); _connect_port = NULL; } } else { // drag ended on different port ports_joined(_connect_port, GANV_PORT(joinee)); - unselect_ports(); _connect_port = NULL; } } - unselect_ports(); end_connect_drag(); return true; } @@ -1526,7 +1523,6 @@ GanvCanvasImpl::port_event(GdkEvent* event, GanvPort* port) if (port_dragging) { if (_connect_port) { // dragging ports_joined(port, _connect_port); - unselect_ports(); } else { port_clicked(event, port); } @@ -1616,7 +1612,6 @@ GanvCanvasImpl::port_clicked(GdkEvent* event, GanvPort* port) if (!modded && _last_selected_port && _last_selected_port->impl->is_input != port->impl->is_input) { selection_joined_with(port); - unselect_ports(); } else { select_port_toggle(port, event->button.state); } |