projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85af901
)
Roo/bootstrap/LayoutMasonry.js
author
edward
<edward@roojs.com>
Wed, 26 Apr 2017 06:30:17 +0000
(14:30 +0800)
committer
edward
<edward@roojs.com>
Wed, 26 Apr 2017 06:30:17 +0000
(14:30 +0800)
Roo/bootstrap/LayoutMasonry.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/LayoutMasonry.js
b/Roo/bootstrap/LayoutMasonry.js
index
4ae56d8
..
166ce0f
100644
(file)
--- a/
Roo/bootstrap/LayoutMasonry.js
+++ b/
Roo/bootstrap/LayoutMasonry.js
@@
-1048,7
+1048,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 : minY + (this.unitWidth + this.gutter) *
1
+ y : minY + (this.unitWidth + this.gutter) *
(box[1].y - 1)
});
return pos;
@@
-1056,8
+1056,8
@@
Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component, {
}
pos.push({
- x :
x
,
- y :
y
+ x :
maxX - this.unitWidth * box[0].x - this.gutter * (box[0].x - 1)
,
+ y :
minY + (this.unitWidth + this.gutter) * 1
});
pos.push({