Commit f8dc3958 authored by Tt's avatar Tt

处理适配

parent 5016642d
......@@ -558,9 +558,9 @@
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 1,
"_left": 0,
"_right": 0,
"_alignFlags": 41,
"_left": -27,
"_right": -27,
"_top": -20,
"_bottom": 0,
"_verticalCenter": 0,
......@@ -571,7 +571,7 @@
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalWidth": 1334,
"_originalHeight": 0,
"_id": "64VLnTwUFGwKD+MCQpWnxr"
},
......@@ -908,8 +908,8 @@
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 1,
"_left": 0,
"_alignFlags": 9,
"_left": 6.013000000000034,
"_right": 0,
"_top": 3.52800000000002,
"_bottom": 0,
......@@ -3040,9 +3040,9 @@
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 1,
"_alignFlags": 33,
"_left": 0,
"_right": 0,
"_right": 1.8110000000000355,
"_top": 8.937000000000012,
"_bottom": 0,
"_verticalCenter": 0,
......
......@@ -41,8 +41,8 @@ cc.Class({
let rect = this.data.rect
this.node.x = (rect.x + rect.width / 2) / scale
this.node.y = (-rect.y - rect.height / 2) / scale
this.node.width = rect.width / scale
this.node.height = rect.height / scale
this.node.width = rect.width / scale * 0.8
this.node.height = rect.height / scale * 0.8
this.sprite.node.active = false
if (data.useHand) {
this.hand.active = true
......
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