Commit 4e5a7526 authored by Tt's avatar Tt

适配修改

parent 9be1c53a
......@@ -178,8 +178,10 @@ cc.Class({
if (!size) {
return;
}
let bgWidth = 482;
let bgHeight = 489;
// let bgWidth = 482;
// let bgHeight = 489;
let bgWidth = 460;
let bgHeight = 464;
if (size.width != bgWidth || size.height != bgHeight) {
let designScale = bgWidth / bgHeight;
let scale = size.width / size.height;
......
......@@ -178,8 +178,10 @@ cc.Class({
if (!size) {
return;
}
let bgWidth = 482;
let bgHeight = 489;
// let bgWidth = 482;
// let bgHeight = 489;
let bgWidth = 460;
let bgHeight = 464;
if (size.width != bgWidth || size.height != bgHeight) {
let designScale = bgWidth / bgHeight;
let scale = size.width / size.height;
......
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