Roo/bootstrap/LayoutMasonry.js
authoredward <edward@roojs.com>
Wed, 26 Apr 2017 06:01:56 +0000 (14:01 +0800)
committeredward <edward@roojs.com>
Wed, 26 Apr 2017 06:01:56 +0000 (14:01 +0800)
Roo/bootstrap/LayoutMasonry.js

index 23593fd..c300877 100644 (file)
@@ -534,6 +534,15 @@ Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component,  {
         
         Roo.each(queue, function(box){
             
+            var mx = 0;
+            
+            Roo.each(box, function(b){
+                mx = Math.max(mx, b.x);
+            }, this);
+            
+            
+            
+            
         }, this);