Commit ea34ec9d authored by haiyoucuv's avatar haiyoucuv

1

parent 3f72dc9e
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
</state>
</component>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -218,6 +218,7 @@ export class MapScene extends Scene {
const midData = arr; // 剩下的是中间的数据
let maxHeight = MapTop.HEIGHT;
this.mapContainer.addChild(new MapTop(topData)); // 最后加,因为有个层级问题
for (let i = midData.length / 10 - 1; i >= 0; i--) {
const data = midData.splice(i * 10, 10);
......@@ -232,8 +233,6 @@ export class MapScene extends Scene {
bottom.y = maxHeight;
maxHeight += MapBottom.HEIGHT;
this.mapContainer.addChild(new MapTop(topData)); // 最后加,因为有个层级问题
this.scrollPage.maxDistance = maxHeight;
this.scrollPage.scrollTo(maxHeight, 0);
......
......@@ -9,8 +9,8 @@ export default class MapTop extends MapPart {
protected totalCount = 2;
public btnPos = [
[207, 418],
[149, 282],
[207, 400],
[149, 272],
];
constructor(data) {
......
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