Commit 2f570506 authored by liujiangnan's avatar liujiangnan

fix: 适配

parent 6dddcc7e
......@@ -354,7 +354,7 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
1752.609,
1752,
0,
0,
0,
......@@ -6286,7 +6286,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "d0oGemQOlPN7h+RhzeXn7n"
"_id": "30rBgg5n1HBK9VrLbCBNEk"
},
{
"__type__": "cc.Label",
......@@ -6321,7 +6321,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "bcAj6tvLhKPIwmMd5gDrmp"
"_id": "b5KyFqiCRCOb1fa5F6J8mK"
},
{
"__type__": "cc.LabelOutline",
......@@ -6339,7 +6339,7 @@
"a": 255
},
"_width": 3,
"_id": "a4uS7h05BM65DPkxrl4dh6"
"_id": "dfBBldPdNMw60bUXUCW9Rl"
},
{
"__type__": "cc.RichText",
......@@ -6494,7 +6494,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "10ebGjWrNJH5CprmdCbXjy"
"_id": "54K0rifEtNtbCio3ayYeSs"
},
{
"__type__": "cc.Label",
......@@ -6529,7 +6529,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "7b+gEzAAtA7rx4QJS4lcpc"
"_id": "26X0h1CthDj5+SL16h+Xhh"
},
{
"__type__": "cc.LabelOutline",
......@@ -6547,7 +6547,7 @@
"a": 255
},
"_width": 7,
"_id": "26QQiiSWlLop4VPplm+PCb"
"_id": "f1RujKAcxFOKPAJ0toLgOY"
},
{
"__type__": "cc.RichText",
......@@ -9640,7 +9640,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "38+CH7p9ZKV6TgV0v0PEaC"
"_id": "04htzPuqNPz4NonParhbRa"
},
{
"__type__": "cc.Label",
......@@ -9675,7 +9675,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "9fudGZbuhL97FvMAXdqEuD"
"_id": "2cvNBzca5F7ZI7jrHhXkDw"
},
{
"__type__": "cc.LabelOutline",
......@@ -9693,7 +9693,7 @@
"a": 255
},
"_width": 7,
"_id": "029LI8JeBLK5YF1Z7S1kkk"
"_id": "feBh6b1S9Eoq/iDIa16znq"
},
{
"__type__": "cc.RichText",
......@@ -9848,7 +9848,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "afA9o15JBOQphqfExaLj8T"
"_id": "18E/FjLwlKxaaynMukd9ca"
},
{
"__type__": "cc.Label",
......@@ -9883,7 +9883,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "b8KPoIdB1JPq4LphIwlvVO"
"_id": "319wPtoi1BJKimutaU7jdC"
},
{
"__type__": "cc.LabelOutline",
......@@ -9901,7 +9901,7 @@
"a": 255
},
"_width": 3,
"_id": "00gEan12BEjqLJWnZcGsq7"
"_id": "86Uh79wnRKj52/4l2ngxnc"
},
{
"__type__": "cc.RichText",
......@@ -12994,7 +12994,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "c6uf5HalxAGIi1HidUHvad"
"_id": "0c/WTrzqJCWpp4KE9knh5I"
},
{
"__type__": "cc.Label",
......@@ -13029,7 +13029,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "feGSlnSF9AiaZauFDKDhMx"
"_id": "e40fb4UJFP6J5BtcjdcPE0"
},
{
"__type__": "cc.LabelOutline",
......@@ -13047,7 +13047,7 @@
"a": 255
},
"_width": 7,
"_id": "c7J91GmxFG3ZsUsMc7th5I"
"_id": "10VTMHrHJBf54fB1zV3sVj"
},
{
"__type__": "cc.RichText",
......@@ -13202,7 +13202,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "79Nk0vq+BJurmLEV9qiOo0"
"_id": "c2rblQd8dPm4VW21RLsjEY"
},
{
"__type__": "cc.Label",
......@@ -13237,7 +13237,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "a0AYaatNBOfIAuP7dS0kan"
"_id": "c9hAwiQUdLfKETJ0iY2l8I"
},
{
"__type__": "cc.LabelOutline",
......@@ -13255,7 +13255,7 @@
"a": 255
},
"_width": 3,
"_id": "95BHI9Sd1G/6r/cY8Plc7m"
"_id": "907Qi4/H1LtrmF6qns4kjC"
},
{
"__type__": "cc.RichText",
......@@ -16545,7 +16545,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "56IjC9aLJArLxZwE8k8EMe"
"_id": "ea3vxcQt5JWb/9fYaV6K30"
},
{
"__type__": "cc.Label",
......@@ -16580,7 +16580,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "b4/vF/1QxITKz4xhLTfoEf"
"_id": "d9YerIjSRAA6dI5tUSA/5f"
},
{
"__type__": "cc.LabelOutline",
......@@ -16598,7 +16598,7 @@
"a": 255
},
"_width": 7,
"_id": "7agg1blKBOA6yuHdrNc0cF"
"_id": "f92oBir6BBw44ObpFBg2Tv"
},
{
"__type__": "cc.RichText",
......@@ -16753,7 +16753,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "bfGz5q8CJLr7Bj7t1upG6J"
"_id": "281uEQYE1Pbba47L+iS+ws"
},
{
"__type__": "cc.Label",
......@@ -16788,7 +16788,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "d5yaDZv6REUZpxDVOAyi2M"
"_id": "fev3PPJetOoZ0Pw9VusemK"
},
{
"__type__": "cc.LabelOutline",
......@@ -16806,7 +16806,7 @@
"a": 255
},
"_width": 3,
"_id": "ec7/C96FlA6ryObfFgTe8o"
"_id": "97elPBCc9LMJ1IsecM8ZA3"
},
{
"__type__": "cc.RichText",
......
......@@ -89,7 +89,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
const touchboard = cc.find('Canvas/touchboard');
const contant = cc.find('Canvas/touchboard/contant');
const scale = touchboard.height / contant.height;
contant.width = 4400 * scale;
contant.width = 4784 * scale;
contant.height = 720 * scale;
contant.scale = scale;
contant.x = contant.width / 2 - touchboard.width / 2;
......
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