You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by mc...@apache.org on 2018/08/27 15:24:45 UTC
nifi git commit: NIFI-5543: move bendPointDrag below
mousedown.selection in nf-connection.js
Repository: nifi
Updated Branches:
refs/heads/master 6ceee2585 -> 58cb900b9
NIFI-5543: move bendPointDrag below mousedown.selection in nf-connection.js
This closes #2957
Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/58cb900b
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/58cb900b
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/58cb900b
Branch: refs/heads/master
Commit: 58cb900b904be7e37b22d9811e4fb00e5992d9a3
Parents: 6ceee25
Author: Mark Bean <ma...@gmail.com>
Authored: Tue Aug 21 15:37:25 2018 +0000
Committer: Matt Gilman <ma...@gmail.com>
Committed: Mon Aug 27 11:04:07 2018 -0400
----------------------------------------------------------------------
.../nifi-web-ui/src/main/webapp/js/nf/canvas/nf-connection.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/nifi/blob/58cb900b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-connection.js
----------------------------------------------------------------------
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-connection.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-connection.js
index 4bbc369..145e1a3 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-connection.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-connection.js
@@ -669,7 +669,6 @@
// create a point for the end
var endpointsEntered = endpoints.enter().append('rect')
- .call(endpointDrag)
.attrs({
'class': 'endpoint linepoint',
'pointer-events': 'all',
@@ -683,6 +682,7 @@
// update URL deep linking params
nfCanvasUtils.setURLParameters();
})
+ .call(endpointDrag)
.call(nfContextMenu.activate);
// update the end point
@@ -708,7 +708,6 @@
'width': 8,
'height': 8
})
- .call(bendPointDrag)
.on('dblclick', function (p) {
// stop even propagation
d3.event.stopPropagation();
@@ -766,6 +765,7 @@
// update URL deep linking params
nfCanvasUtils.setURLParameters();
})
+ .call(bendPointDrag)
.call(nfContextMenu.activate);
// update the midpoints