Commit 5ef1b8ee authored by limingzhe's avatar limingzhe

fix: debug

parent eaab878e
......@@ -5767,11 +5767,11 @@
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft": 100,
"_N$paddingRight": 100,
"_N$paddingLeft": 130,
"_N$paddingRight": 130,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX": 50,
"_N$spacingX": 80,
"_N$spacingY": 0,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
......
......@@ -100,7 +100,7 @@ export default class NewClass extends cc.Component {
this.SvContent.opacity = 0;
if (!this.SvContent['baseH']) {
this.SvContent['baseH'] = this.SvContent.height;
this.SvContent.height *= canvas.height / 1080;
this.SvContent.height *= canvas.height / 1080 * 1.1;
this.SvContent.parent.height = this.SvContent.height* 1.2;
}
let loadEndCount = 0;
......@@ -159,7 +159,7 @@ export default class NewClass extends cc.Component {
}
});
const scale = canvas.height / 1080;
const scale = canvas.height / 1080 * 1.1;
ci.width *= scale;
ci.height *= scale;
ci.scale = scale;
......
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