lyb-pixi-js 1.11.8 → 1.11.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.
|
@@ -16,7 +16,7 @@ export declare class LibPixiDialog extends LibPixiBaseContainer {
|
|
|
16
16
|
static durationIn: number;
|
|
17
17
|
static durationOut: number;
|
|
18
18
|
/** 是否支持横竖版 */
|
|
19
|
-
static adaptation:
|
|
19
|
+
static adaptation: "hv" | "h" | "v";
|
|
20
20
|
/** 蒙版UI */
|
|
21
21
|
private _maskUI;
|
|
22
22
|
/** 内容容器 */
|
|
@@ -63,7 +63,7 @@ export class LibPixiDialog extends LibPixiBaseContainer {
|
|
|
63
63
|
duration: LibPixiDialog.durationIn,
|
|
64
64
|
alpha: 1,
|
|
65
65
|
});
|
|
66
|
-
const resize = new LibJsResizeWatcher(LibPixiDialog.adaptation
|
|
66
|
+
const resize = new LibJsResizeWatcher(LibPixiDialog.adaptation);
|
|
67
67
|
this._offResize = resize.on((w, h) => {
|
|
68
68
|
const halfW = 1920 / 2;
|
|
69
69
|
const halfH = 1080 / 2;
|
|
@@ -126,4 +126,4 @@ LibPixiDialog.bgAlpha = 0.5;
|
|
|
126
126
|
LibPixiDialog.durationIn = 0.5;
|
|
127
127
|
LibPixiDialog.durationOut = 0.5;
|
|
128
128
|
/** 是否支持横竖版 */
|
|
129
|
-
LibPixiDialog.adaptation =
|
|
129
|
+
LibPixiDialog.adaptation = "hv";
|