dist/jcanvas-handles.js
function (layer, fx) {
		// If layer is a rectangle or ellipse layer
		if (isRectLayer(layer)) {
			// If width or height are animated
			if (fx.prop === 'width' || fx.prop === 'height' || fx.prop === 'x' || fx.prop === 'y') {
				// Update rectangular handles
				updateRectHandles(layer);
			}
		} else if (isPathLayer(layer)) {
			// If coordinates are animated
			if (fx.prop.match(/^c?(x|y)(\d+)/gi) !== null) {
				// Update path handles
				updatePathHandles(layer);
			}
		}
	}
function (layer, fx) {
		// If layer is a rectangle or ellipse layer
		if (isRectLayer(layer)) {
			// If width or height are animated
			if (fx.prop === 'width' || fx.prop === 'height' || fx.prop === 'x' || fx.prop === 'y') {
				// Update rectangular handles
				updateRectHandles(layer);
			}
		} else if (isPathLayer(layer)) {
			// If coordinates are animated
			if (fx.prop.match(/^c?(x|y)(\d+)/gi) !== null) {
				// Update path handles
				updatePathHandles(layer);
			}
		}
	}
function ( layer , fx ) { // If layer is a rectangle or ellipse layer if ( isRectLayer ( layer ) ) { // If width or height are animated if ( fx . prop === 'width' || fx . prop === 'height' || fx . prop === 'x' || fx . prop === 'y' ) { // Update rectangular handles updateRectHandles ( layer ) ; } } else if ( isPathLayer ( layer ) ) { // If coordinates are animated if ( fx . prop . match ( / ^c?(x|y)(\d+) / gi ) !== null ) { // Update path handles updatePathHandles ( layer ) ; } } }
Update handle positions when animating parent layer
Update handle positions when animating parent layer