keytops-game-framework 1.0.23 → 1.0.24
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/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8266,7 +8266,7 @@ class ViewManager {
|
|
|
8266
8266
|
this._viewOpenEventMap = this._viewOpenEventMap || new Map();
|
|
8267
8267
|
this._viewOpenEventMap.set(listener, { event: "open", viewConfig: this._getViewConfig(targetView), caller, listener, once, args });
|
|
8268
8268
|
this.offViewEvent("open", this, this._onViewOpen);
|
|
8269
|
-
this.onViewEvent("open", this, this._onViewOpen);
|
|
8269
|
+
this.onViewEvent("open", this, this._onViewOpen, false);
|
|
8270
8270
|
}
|
|
8271
8271
|
_onViewOpen(viewName, ...args) {
|
|
8272
8272
|
this._viewOpenEventMap.forEach((value, key) => {
|
|
@@ -8296,7 +8296,7 @@ class ViewManager {
|
|
|
8296
8296
|
this._viewCloseEventMap = this._viewCloseEventMap || new Map();
|
|
8297
8297
|
this._viewCloseEventMap.set(listener, { event: "close", viewConfig: this._getViewConfig(targetView), caller, listener, once, args });
|
|
8298
8298
|
this.offViewEvent("close", this, this._onViewClose);
|
|
8299
|
-
this.onViewEvent("close", this, this._onViewClose);
|
|
8299
|
+
this.onViewEvent("close", this, this._onViewClose, false);
|
|
8300
8300
|
}
|
|
8301
8301
|
/**
|
|
8302
8302
|
* [快捷方式]移除视图关闭的事件监听
|