Commit 02517c6b authored by limingzhe's avatar limingzhe

fix: debug

parent ba3576ae
......@@ -2881,7 +2881,7 @@
"_enabled": true,
"alignMode": 2,
"_target": null,
"_alignFlags": 8,
"_alignFlags": 0,
"_left": 0,
"_right": 39.384000000000015,
"_top": 140,
......@@ -2970,7 +2970,7 @@
"_enabled": true,
"alignMode": 2,
"_target": null,
"_alignFlags": 32,
"_alignFlags": 0,
"_left": 19.285999999999945,
"_right": 0,
"_top": 140,
......@@ -3578,7 +3578,7 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-1638.806,
-810.962,
280,
0,
0,
......
......@@ -168,7 +168,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
if (data.itemType == 'text') {
data.text += 'aaa bbb cc dd';
let item = pg.view.clone(this.item_battery_text)
item.active = true;
item.x = 0;
......@@ -188,7 +187,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 左侧
let sid = (i + 1) % 4 + 1
pg.view.visible(pg.view.find(item, 'bg/img_battery' + sid), true)
item.x = -400;
item.x = -600;
if (this.current == 0) {
cc.tween(item).delay(delayTime).to(0.5, { x: 0 }).start();
......@@ -200,7 +199,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
let sid = (i + 1 - lineNum) % 2 + 5
pg.view.visible(pg.view.find(item, 'bg/img_battery' + sid), true)
item_text.x = 10
item.x = 400;
item.x = 600;
if (this.current == 0) {
cc.tween(item).delay(delayTime).to(0.5, { x: 0 }).start();
} else {
......
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