Commit bc379677 authored by wildfirecode's avatar wildfirecode

Merge branch 'dev' of gitlab2.dui88.com:wanghongyuan/xiaoxiaole into dev

parents cb2d2ac6 7c1d9126
...@@ -1149,7 +1149,11 @@ export default class MainScene extends Scene { ...@@ -1149,7 +1149,11 @@ export default class MainScene extends Scene {
var downIndex = index; var downIndex = index;
while (this.emptys.indexOf(downIndex) > -1) { while (this.emptys.indexOf(downIndex) > -1) {
arr.push(downIndex); arr.push(downIndex);
downIndex += Tool.colNum; if (this.lattices[downIndex].down != null) {
downIndex = this.lattices[downIndex].down;
} else {
downIndex += Tool.colNum;
}
} }
var p = Tool.getPositionByIndex(index); var p = Tool.getPositionByIndex(index);
var len = arr.length;//越前面的越上面,y越小 var len = arr.length;//越前面的越上面,y越小
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment