Fixed #3053 - when resizing a image a row of pixels can disappear

props raziel057
This commit is contained in:
Richard Worth 2009-03-02 10:39:16 +00:00
parent f277564bdc
commit 8fecd015cf

View File

@ -311,6 +311,9 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
if (!o.animate)
this.element.css($.extend(s, { top: top, left: left }));
self.helper.height(self.size.height);
self.helper.width(self.size.width);
if (this._helper && !o.animate) this._proportionallyResize();
}