fix conflicts (#16648)

Co-authored-by: qgh <>
This commit is contained in:
qiuguohua
2024-01-23 10:34:41 +08:00
committed by GitHub
parent c900e93951
commit 8d9edfeeea
+3
View File
@@ -121,9 +121,12 @@ export class EditBoxImpl extends EditBoxImplBase {
this._registerEventListeners();
this._addDomToGameContainer();
View.instance.on('canvas-resize', this._resize, this);
screenAdapter.on('window-resize', this._resize, this);
}
public clear (): void {
View.instance.off('canvas-resize', this._resize, this);
screenAdapter.off('window-resize', this._resize, this);
this._removeEventListeners();
this._removeDomFromGameContainer();