keytops-game-framework 1.0.20 → 1.0.22

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.
@@ -109,13 +109,13 @@ export declare class ViewManager {
109
109
  openTouch(token?: TouchLockToken): void;
110
110
  /**
111
111
  * 关闭当前场景的可交互性
112
- * @param maskViewConfig 可选参数,默认为空白,要显示的遮罩试图。
113
112
  * @param delay 可选参数,默认200毫秒,显示maskView的延迟时间。
113
+ * @param maskViewConfig 可选参数,默认为空白,要显示的遮罩试图。
114
114
  * @returns 当前触摸锁令牌,可传给openTouch精确释放本次锁。
115
115
  */
116
- closeTouch(maskViewConfig?: {
116
+ closeTouch(delay?: number, maskViewConfig?: {
117
117
  prototype: IView;
118
- } | ViewConfig | string, delay?: number): Promise<TouchLockToken>;
118
+ } | ViewConfig | string): Promise<TouchLockToken>;
119
119
  private _lockTouch;
120
120
  private _applyTouchState;
121
121
  private _showMaskView;