refactor tile packing, cut tools file pathing
This commit is contained in:
parent
8017fe37e5
commit
d087aaae73
4 changed files with 284 additions and 218 deletions
|
|
@ -735,8 +735,8 @@ function platformLayout() {
|
|||
|
||||
for (i = 0; i < c.length; i++) {
|
||||
m = c[i];
|
||||
m.fit.x += m.w / 2 + p.pad;
|
||||
m.fit.y += m.h / 2 + p.pad;
|
||||
m.fit.x += m.w / 2;
|
||||
m.fit.y += m.h / 2;
|
||||
m.move(p.max.w / 2 - m.fit.x, p.max.h / 2 - m.fit.y, 0, true);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue