@cc-component/cc-ex-component 1.7.8 → 1.7.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/ex/ExCommon.ts +1 -1
- package/package.json +1 -1
package/assets/ex/ExCommon.ts
CHANGED
|
@@ -801,7 +801,7 @@ const originalOnTouchEnded = Button.prototype["_onTouchEnded"];
|
|
|
801
801
|
Button.prototype["_onTouchEnded"] = function (event: EventTouch) {
|
|
802
802
|
// 播放点击音效
|
|
803
803
|
ExComponentModule.Emit(this);
|
|
804
|
-
this.node.emit('click', this)
|
|
804
|
+
// this.node.emit('click', this)
|
|
805
805
|
// 调用原始逻辑
|
|
806
806
|
// EventHandler.emitEvents(this.clickEvents, event);
|
|
807
807
|
return originalOnTouchEnded.call(this, event);
|