projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge changes for seperator change
[roojs1]
/
Roo
/
Resizable.js
diff --git
a/Roo/Resizable.js
b/Roo/Resizable.js
index
7ce8923
..
b0fb9f3
100644
(file)
--- a/
Roo/Resizable.js
+++ b/
Roo/Resizable.js
@@
-346,7
+346,9
@@
Roo.extend(Roo.Resizable, Roo.util.Observable, {
// private
snap : function(value, inc, min){
// private
snap : function(value, inc, min){
- if(!inc || !value) return value;
+ if(!inc || !value) {
+ return value;
+ }
var newValue = value;
var m = value % inc;
if(m > 0){
var newValue = value;
var m = value % inc;
if(m > 0){
@@
-506,7
+508,7
@@
Roo.extend(Roo.Resizable, Roo.util.Observable, {
case "southeast":
case "east":
h = oh * (w/ow);
case "southeast":
case "east":
h = oh * (w/ow);
-
//
h = Math.min(Math.max(mh, h), mxh);
+ h = Math.min(Math.max(mh, h), mxh);
w = ow * (h/oh);
break;
case "south":
w = ow * (h/oh);
break;
case "south":
@@
-665,6
+667,7
@@
Roo.Resizable.Handle = function(rz, pos, disableTrackOver, transparent){
// private
Roo.Resizable.Handle.prototype = {
afterResize : function(rz){
// private
Roo.Resizable.Handle.prototype = {
afterResize : function(rz){
+ Roo.log('after?');
// do nothing
},
// private
// do nothing
},
// private