roojs-core.js
[roojs1] / Roo / Resizable.js
index 9b0014f..b0fb9f3 100644 (file)
@@ -180,7 +180,7 @@ Roo.Resizable = function(el, config)
         /**
          * @event resizing
          * Fired a resizing.
-         * @param {Roo.Resizable} this this, x, y, w, h, e
+         * @param {Roo.Resizable} this
          * @param {Number} x The new x position
          * @param {Number} y The new y position
          * @param {Number} w The new w width
@@ -346,7 +346,9 @@ Roo.extend(Roo.Resizable, Roo.util.Observable, {
 
     // 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){
@@ -665,6 +667,7 @@ Roo.Resizable.Handle = function(rz, pos, disableTrackOver, transparent){
 // private
 Roo.Resizable.Handle.prototype = {
     afterResize : function(rz){
+        Roo.log('after?');
         // do nothing
     },
     // private