projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36e65f1
)
Roo/bootstrap/LayoutMasonry.js
author
Alan Knowles
<alan@roojs.com>
Tue, 20 Oct 2015 05:06:16 +0000
(13:06 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 20 Oct 2015 05:06:16 +0000
(13:06 +0800)
Roo/bootstrap/LayoutMasonry.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/LayoutMasonry.js
b/Roo/bootstrap/LayoutMasonry.js
index
134afcf
..
2bf6716
100644
(file)
--- a/
Roo/bootstrap/LayoutMasonry.js
+++ b/
Roo/bootstrap/LayoutMasonry.js
@@
-154,7
+154,10
@@
Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component, {
positionItem : function( item, x, y, isInstant ) {
if ( isInstant ) {
// if not transition, just set CSS
- item.goTo( x, y );
+
+ item.setXY([x,y]);
+
+
} else {
item.moveTo( x, y );
}
@@
-193,7
+196,7
@@
Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component, {
var i = this.cols;
this.colYs = [];
while (i--) {
- this.colYs.push( 0 );
+
this.colYs.push( 0 );
}
this.maxY = 0;