fix: button clone bug (#2758)

This commit is contained in:
AZhan
2025-07-08 15:10:25 +08:00
committed by GitHub
parent 8a28389d8b
commit 17c273e22e

View File

@@ -1,7 +1,8 @@
import { PointerEventData, SafeLoopArray } from "@galacean/engine";
import { ignoreClone, PointerEventData, SafeLoopArray } from "@galacean/engine";
import { UIInteractive } from "../interactive/UIInteractive";
export class Button extends UIInteractive {
@ignoreClone
private _listeners: SafeLoopArray<IUIListener> = new SafeLoopArray<IUIListener>();
/**