diff --git a/ui/ui.resizable.js b/ui/ui.resizable.js index 3f5b0fb8c..8707cf862 100644 --- a/ui/ui.resizable.js +++ b/ui/ui.resizable.js @@ -314,8 +314,10 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, { //Aspect Ratio o.aspectRatio = (typeof o.aspectRatio == 'number') ? o.aspectRatio : ((this.originalSize.width / this.originalSize.height)||1); - if (o.preserveCursor) - $('body').css('cursor', this.axis + '-resize'); + if (o.preserveCursor) { + var cursor = $('.ui-resizable-' + this.axis).css('cursor'); + $('body').css('cursor', cursor == 'auto' ? this.axis + '-resize' : cursor); + } this._propagate("start", event); return true;