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

index afb9993..c66a4fa 100644 (file)
@@ -1062,7 +1062,7 @@ Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component,  {
 
         pos.push({
             x : maxX - this.unitWidth * box[1].x - this.gutter * (box[1].x - 1),
-            y : y + (this.unitWidth + this.gutter) * 1
+            y : minY + (this.unitWidth + this.gutter) * 1
         });
         
         return pos;