lyb-pixi-js 1.12.25 → 1.12.26

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.
@@ -46,7 +46,6 @@ export class LibPixiDialog extends LibPixiBaseContainer {
46
46
  /** @description 设置弹窗内容 */
47
47
  setDialogContent(content) {
48
48
  this._dialogContainer.addChild(content);
49
- console.log(LibPixiDialog.adaptation);
50
49
  if (LibPixiDialog.adaptation === "h") {
51
50
  this.redraw(1920, 1080);
52
51
  }
@@ -69,7 +68,6 @@ export class LibPixiDialog extends LibPixiBaseContainer {
69
68
  }
70
69
  /** @description 重绘弹窗 */
71
70
  redraw(w, h) {
72
- console.log(w, h);
73
71
  const dialogW = this._dialogContainer.width / 2;
74
72
  const dialogH = this._dialogContainer.height / 2;
75
73
  this._dialogContainer.pivot.set(dialogW, dialogH);
@@ -132,4 +130,4 @@ LibPixiDialog.bgAlpha = 0.5;
132
130
  LibPixiDialog.durationIn = 0.5;
133
131
  LibPixiDialog.durationOut = 0.5;
134
132
  /** 是否支持横竖版 */
135
- LibPixiDialog.adaptation = "h";
133
+ LibPixiDialog.adaptation = "hv";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lyb-pixi-js",
3
- "version": "1.12.25",
3
+ "version": "1.12.26",
4
4
  "description": "自用Pixi.JS方法库",
5
5
  "license": "ISC",
6
6
  "exports": {