projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04019e7
)
Roo/Resizable.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 24 Sep 2010 06:33:19 +0000
(14:33 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 24 Sep 2010 06:33:19 +0000
(14:33 +0800)
Roo/Resizable.js
patch
|
blob
|
history
diff --git
a/Roo/Resizable.js
b/Roo/Resizable.js
index
cf59f99
..
d1b5470
100644
(file)
--- a/
Roo/Resizable.js
+++ b/
Roo/Resizable.js
@@
-419,9
+419,8
@@
Roo.extend(Roo.Resizable, Roo.util.Observable, {
h -= diffY;
break;
case "hdrag":
- x +=
diffX
;
+ x +=
this.snap(diffX, wi, x + diffX)
;
x = Math.max(this.minX, x);
- w += diffX;
break;
case "west":
diffX = this.constrain(w, diffX, mw, mxw);
@@
-465,7
+464,6
@@
Roo.extend(Roo.Resizable, Roo.util.Observable, {
case "southwest":
x -= sw - w;
break;
- case "hdrag":
case "west":
x -= sw - w;
break;