src/canvas-view/canvas/dragging-service.js
Function Factory
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Factory (mouseCapture) {
//
// Threshold for dragging.
// When the mouse moves by at least this amount dragging starts.
//
Function startDrag
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
startDrag: function (evt, config) {
var dragging = false;
var x = evt.pageX;
var y = evt.pageY;