function bindPickerMouseMove() {
        $pickerOverlay.on({
            'mousemove.malakh': function (evt) {
                var mousePosition = getMousePosition(evt);
                if (drawingArea) {
                    return;
                }

                var cursorType;
                if ($pickerArea.is(':visible')) {
                    cursorType = overBorder(getPickerAreaRectangle(), mousePosition.x, mousePosition.y);
                } else { // we haven't marked anything yet
                    cursorType = 'default';
                }

                $(this).css('cursor', cursorType);
            },
        });
    }
/**
     * Handling mousemove when NOT changing picker's size.
     * This function just changes mouse cursor based on hovering.
     * @private
     */
Handling mousemove when NOT changing picker's size.
This function just changes mouse cursor based on hovering.
@private
Handling mousemove when NOT changing picker ' s size . This function just changes mouse cursor based on hovering . @private
function bindPickerMouseMove() {
        $pickerOverlay.on({
            'mousemove.malakh': function (evt) {
                var mousePosition = getMousePosition(evt);
                if (drawingArea) {
                    return;
                }
                var cursorType;
                if ($pickerArea.is(':visible')) {
                    cursorType = overBorder(getPickerAreaRectangle(), mousePosition.x, mousePosition.y);
                } else { 
                    cursorType = 'default';
                }
                $(this).css('cursor', cursorType);
            },
        });
    }
function bindPickerMouseMove ( ) { $pickerOverlay . on ( { 'mousemove.malakh' : function ( evt ) { var mousePosition = getMousePosition ( evt ) ; if ( drawingArea ) { return ; } var cursorType ; if ( $pickerArea . is ( ':visible' ) ) { cursorType = overBorder ( getPickerAreaRectangle ( ) , mousePosition . x , mousePosition . y ) ; } else { cursorType = 'default' ; } $ ( this ) . css ( 'cursor' , cursorType ) ; } , } ) ; }
Handling mousemove when NOT changing picker's size.
Handling mousemove when NOT changing picker ' s size .
// we haven't marked anything yet