修改通行证显示
This commit is contained in:
parent
27a978f043
commit
4c1c65bce8
|
|
@ -1513,7 +1513,7 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-30.469,
|
||||
42.242,
|
||||
-44.099,
|
||||
0,
|
||||
0,
|
||||
|
|
@ -1618,7 +1618,7 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
25,
|
||||
97.711,
|
||||
-45,
|
||||
0,
|
||||
0,
|
||||
|
|
@ -1700,8 +1700,8 @@
|
|||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1.3,
|
||||
1.3,
|
||||
1
|
||||
]
|
||||
},
|
||||
|
|
@ -2432,7 +2432,7 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-5.554,
|
||||
72.086,
|
||||
-46.013,
|
||||
0,
|
||||
0,
|
||||
|
|
@ -2537,7 +2537,7 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
50,
|
||||
127.64,
|
||||
-45,
|
||||
0,
|
||||
0,
|
||||
|
|
@ -2619,8 +2619,8 @@
|
|||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1.3,
|
||||
1.3,
|
||||
1
|
||||
]
|
||||
},
|
||||
|
|
|
|||
|
|
@ -422,7 +422,7 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-30.469,
|
||||
42.786,
|
||||
-44.099,
|
||||
0,
|
||||
0,
|
||||
|
|
@ -527,7 +527,7 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
25,
|
||||
98.255,
|
||||
-45,
|
||||
0,
|
||||
0,
|
||||
|
|
@ -609,8 +609,8 @@
|
|||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1.3,
|
||||
1.3,
|
||||
1
|
||||
]
|
||||
},
|
||||
|
|
@ -1341,7 +1341,7 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-5.554,
|
||||
73.145,
|
||||
-46.013,
|
||||
0,
|
||||
0,
|
||||
|
|
@ -1446,7 +1446,7 @@
|
|||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
50,
|
||||
128.699,
|
||||
-45,
|
||||
0,
|
||||
0,
|
||||
|
|
@ -1528,8 +1528,8 @@
|
|||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1.3,
|
||||
1.3,
|
||||
1
|
||||
]
|
||||
},
|
||||
|
|
|
|||
|
|
@ -311,11 +311,13 @@ export default class PassCheckItem extends cc.Component {
|
|||
const offset = Math.max(0, digitCount);
|
||||
const num_xWidth = num_x.width;
|
||||
if (digitCount == 4) {
|
||||
num1.x = num1.x - 75;
|
||||
num_x.x = num1.x - (offset - 1) * num_xWidth - 25;
|
||||
} else if (digitCount == 3) {
|
||||
num_x.x = num1.x - offset * num_xWidth - 25;
|
||||
num1.x = num1.x - 45;
|
||||
num_x.x = num1.x - offset * num_xWidth - 15;
|
||||
} else if (digitCount == 1) {
|
||||
num_x.x = num1.x - 60;
|
||||
num_x.x = num1.x - 55;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user