projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab95a54
)
Roo/bootstrap/LayoutMasonry.js
author
edward
<edward@roojs.com>
Wed, 26 Apr 2017 06:40:55 +0000
(14:40 +0800)
committer
edward
<edward@roojs.com>
Wed, 26 Apr 2017 06:40:55 +0000
(14:40 +0800)
Roo/bootstrap/LayoutMasonry.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/LayoutMasonry.js
b/Roo/bootstrap/LayoutMasonry.js
index
b2f722c
..
901937a
100644
(file)
--- a/
Roo/bootstrap/LayoutMasonry.js
+++ b/
Roo/bootstrap/LayoutMasonry.js
@@
-1076,12
+1076,12
@@
Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component, {
if(box[0].size == 'xs' && box[1].size == 'xs' && box[2].size == 'xs'){
pos.push({
- x : maxX -
(this.unitWidth + this.gutter) * 1
,
+ x : maxX -
this.unitWidth * box[0].x - this.gutter * (box[0].x - 1)
,
y : minY
});
pos.push({
- x : maxX -
(this.unitWidth + this.gutter) * 1
,
+ x : maxX -
this.unitWidth * box[1].x - this.gutter * (box[1].x - 1)
,
y : minY + (this.unitWidth + this.gutter) * 1,
});