lib/features/resize/Resize.js
function handleMove(context, delta) {

    var shape = context.shape,
        direction = context.direction,
        resizeConstraints = context.resizeConstraints,
        newBounds;

    context.delta = delta;

    newBounds = resizeBounds(shape, direction, delta);

    // ensure constraints during resize
    context.newBounds = ensureConstraints(newBounds, resizeConstraints);

    // update + cache executable state
    context.canExecute = self.canResize(context);
  }
function handleMove(context, delta) {

    var shape = context.shape,
        direction = context.direction,
        resizeConstraints = context.resizeConstraints,
        newBounds;

    context.delta = delta;

    newBounds = resizeBounds(shape, direction, delta);

    // ensure constraints during resize
    context.newBounds = ensureConstraints(newBounds, resizeConstraints);

    // update + cache executable state
    context.canExecute = self.canResize(context);
  }
function handleMove ( context , delta ) { var shape = context . shape , direction = context . direction , resizeConstraints = context . resizeConstraints , newBounds ; context . delta = delta ; newBounds = resizeBounds ( shape , direction , delta ) ; // ensure constraints during resize context . newBounds = ensureConstraints ( newBounds , resizeConstraints ) ; // update + cache executable state context . canExecute = self . canResize ( context ) ; }
Handle resize move by specified delta.

@param {Object} context
@param {Point} delta
Handle resize move by specified delta .