Commit 3e1cf66e authored by limingzhe's avatar limingzhe

fix: debug

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