Commit 3e1cf66e authored by limingzhe's avatar limingzhe

fix: debug

parent 43798a2b
......@@ -1704,8 +1704,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 82,
"height": 80
"width": 108,
"height": 106
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -1801,8 +1801,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 82,
"height": 80
"width": 108,
"height": 106
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......
......@@ -414,7 +414,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
const anim = animNode.getComponent(cc.Animation);
this.soundNode.scale = 0.76;
iconNode.on('touchstart', () => {
this.playAudioByUrl(this.data.audio_url, () => {
iconNode.active = true;
......
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 82,
"height": 80,
"width": 108,
"height": 106,
"platformSettings": {},
"subMetas": {
"icon_audio_play_1": {
......@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 82,
"height": 80,
"rawWidth": 82,
"rawHeight": 80,
"width": 108,
"height": 106,
"rawWidth": 108,
"rawHeight": 106,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 82,
"height": 80,
"width": 108,
"height": 106,
"platformSettings": {},
"subMetas": {
"icon_audio_play_2": {
......@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 82,
"height": 80,
"rawWidth": 82,
"rawHeight": 80,
"width": 108,
"height": 106,
"rawWidth": 108,
"rawHeight": 106,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 82,
"height": 80,
"width": 108,
"height": 106,
"platformSettings": {},
"subMetas": {
"icon_audio_play_3": {
......@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 82,
"height": 80,
"rawWidth": 82,
"rawHeight": 80,
"width": 108,
"height": 106,
"rawWidth": 108,
"rawHeight": 106,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
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