dist/js/cropjs.js
function(event) {
            event.preventDefault();
            event.stopPropagation();

            if (typeof this._image == 'undefined') {
                return false;
            }

            this.toggleLoadingImage(true);

            var point = this.getMousePoint(event);
            this._image.addFocusPoint(
                this.canvasPointInImage(point.x, point.y),
                40
            );

            if (this._image.autocrop()) {
                this.redraw();
                this.toggleLoadingImage(false);
            }

            return false;
        }
function(event) {
            event.preventDefault();
            event.stopPropagation();

            if (typeof this._image == 'undefined') {
                return false;
            }

            this.toggleLoadingImage(true);

            var point = this.getMousePoint(event);
            this._image.addFocusPoint(
                this.canvasPointInImage(point.x, point.y),
                40
            );

            if (this._image.autocrop()) {
                this.redraw();
                this.toggleLoadingImage(false);
            }

            return false;
        }
function ( event ) { event . preventDefault ( ) ; event . stopPropagation ( ) ; if ( typeof this . _image == 'undefined' ) { return false ; } this . toggleLoadingImage ( true ) ; var point = this . getMousePoint ( event ) ; this . _image . addFocusPoint ( this . canvasPointInImage ( point . x , point . y ) , 40 ) ; if ( this . _image . autocrop ( ) ) { this . redraw ( ) ; this . toggleLoadingImage ( false ) ; } return false ; }
Add focus point
@param event
Add focus point