r2381 - merged to /branches/1.6, trunk r2162 - Resizable - Resizable: displacement of element (in...
Author: scott.gonzalez
Date: Wed Mar 25 06:25:10 2009
New Revision: 2381
Modified:
branches/1.6/ui/ui.resizable.js
Log:
merged to /branches/1.6, trunk r2162 - Resizable - Resizable: displacement
of element (in case of constraint resize area) - Fixed #4217
Modified: branches/1.6/ui/ui.resizable.js
==============================================================================
--- branches/1.6/ui/ui.resizable.js (original)
+++ branches/1.6/ui/ui.resizable.js Wed Mar 25 06:25:10 2009
@@ -713,6 +713,9 @@
self.position.top = o.helper ? co.top : 0;
}
+ self.offset.left = self.parentData.left+self.position.left;
+ self.offset.top = self.parentData.top+self.position.top;
+
var woset = Math.abs( (o.helper ? self.offset.left - cop.left :
(self.offset.left - cop.left)) + self.sizeDiff.width ),
hoset = Math.abs( (o.helper ? self.offset.top - cop.top :
(self.offset.top - co.top)) + self.sizeDiff.height );