mcgilman commented on issue #3335: NIFI-5018
URL: https://github.com/apache/nifi/pull/3335#issuecomment-468298541
 
 
   @R-Bower If we opted to use the Shift key, that is available as part of the 
standard mouse event which is accessible through `d3.event.shiftKey`. During D3 
callbacks, the mouse event that triggers the event is available via `d3.event`. 
You can see an example of this where NiFi offers a selection box [1] when using 
Drag-Shift on the canvas.
   
   @moranr Thoughts on the drag with modifier key behavior?
   
   [1] 
https://github.com/apache/nifi/blob/32bd7ed8b42ca76f2fb9ca65046989368c6459ac/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-canvas.js#L484

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to