lyb-pixi-js 1.10.3 → 1.10.4

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.
@@ -28,7 +28,7 @@ export class LibPixiScrollContainerX extends LibPixiContainer {
28
28
  //创建右边距
29
29
  const rightMarginBox = new Sprite();
30
30
  this._content.addChild(rightMarginBox);
31
- rightMarginBox.height = this._content.width + rightMargin;
31
+ rightMarginBox.width = this._content.width + rightMargin;
32
32
  // 创建遮罩
33
33
  this._maskGraphics = new Graphics();
34
34
  this.addChild(this._maskGraphics);
package/lyb-pixi.js CHANGED
@@ -49128,7 +49128,7 @@ void main(void)\r
49128
49128
  this._content.addChild(this._scrollContent);
49129
49129
  const rightMarginBox = new Sprite();
49130
49130
  this._content.addChild(rightMarginBox);
49131
- rightMarginBox.height = this._content.width + rightMargin;
49131
+ rightMarginBox.width = this._content.width + rightMargin;
49132
49132
  this._maskGraphics = new Graphics();
49133
49133
  this.addChild(this._maskGraphics);
49134
49134
  this._maskGraphics.clear();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lyb-pixi-js",
3
- "version": "1.10.3",
3
+ "version": "1.10.4",
4
4
  "description": "自用Pixi.JS方法库",
5
5
  "license": "ISC",
6
6
  "exports": {