Commit dee09333 authored by Chen Jiping's avatar Chen Jiping

fix:修复错误播放问题

parent b4bfe8a7
......@@ -189,7 +189,7 @@
"array": [
0,
0,
341.8527186837586,
348.1963389090809,
0,
0,
0,
......
......@@ -634,8 +634,8 @@ cc.Class({
setSprNodeMaxLen(spr.node, picMaxW, picMaxH);
item.pic = spr.node;
spr.node.parent.addComponent(cc.Button);
spr.node.parent.on('click', () => {
spr.node.addComponent(cc.Button);
spr.node.on('click', () => {
if (!this._cantouch) {
return;
}
......
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