Commit 69d25f00 authored by 李维's avatar 李维

Bug fix for 2-6

parent 085f72db
......@@ -1269,7 +1269,7 @@ export class PlayComponent implements OnInit, OnDestroy {
let checkMiddle = this.g_cartoon.getCartoonElement("checkpannel_checnk_middle");
checkMiddle.ref.addChild(sliderBG.ref)
sliderBG.ref.x = checkMiddle.ref.width / 2 - 80 * this.g_mapScale;
sliderBG.ref.x = checkMiddle.ref.width / 2 - 30 * this.g_mapScale;
sliderBG.ref.y = 0;
// let clickSY = 0
......@@ -1318,10 +1318,10 @@ export class PlayComponent implements OnInit, OnDestroy {
}
let scrollContent = this.g_cartoon.getCartoonElement("check_scroll_pannel")
let text = this.g_cartoon.createCartoonElementLabel("text", data.text, "Aileron-Bold", "#FFFFFF", 48)
let text = this.g_cartoon.createCartoonElementLabel("text", data.text, "DroidSansFallback", "#FFFFFF", 48)
text.ref.textAlign = "left";
text.ref.warpLineHeight = 64;
text.ref.maxSingalLineWidth = 800;
text.ref.maxSingalLineWidth = 750;
text.ref.refreshSize();
text.ref.x = 0
if(text.ref.lineNum == 0) {
......@@ -1481,7 +1481,7 @@ export class PlayComponent implements OnInit, OnDestroy {
}, (w, h)=>{
return {
x: this.g_canvasWidth / 2 + 855 * this.g_mapScale / 2 + 118 * this.g_mapScale,
y: this.g_canvasHeight / 2 + 740 * this.g_mapScale
y: this.g_canvasHeight / 2 + 760 * this.g_mapScale
}
})
......
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