Commit 483860a2 authored by Chen Jiping's avatar Chen Jiping

修复显示问题

parent 1351afb0
......@@ -739,6 +739,8 @@ export class PlayComponent implements OnInit, OnDestroy {
startYArr.push(startY);
let hight = 0;
for (let i = 0; i < this.data.exercisesArr.length; ++i) {
let index = i + 1;
......@@ -780,7 +782,7 @@ export class PlayComponent implements OnInit, OnDestroy {
else {
startY = startY + exercises.bg.height + 65 * this.mapScaleY;
}
hight = exercises.bg.height;
startYArr.push(startY);
}
......@@ -793,6 +795,7 @@ export class PlayComponent implements OnInit, OnDestroy {
for(let i = 0; i < lBgArr.length; ++ i){
lBgArr[i].y = startYArr[i];
lBgArr[i].height = hight ;
}
let minScale = 1;
......
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