lyb-pixi-js 1.11.17 → 1.11.19

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.
@@ -21,7 +21,7 @@ export class LibPixiDragLocate extends Container {
21
21
  e.preventDefault();
22
22
  if (this._isLocalte)
23
23
  return;
24
- this._showInput = true;
24
+ this._showInput = !this._showInput;
25
25
  }
26
26
  if (e.key === "Escape") {
27
27
  this._showInput = false;
@@ -18,7 +18,7 @@ export class LibPixiPuzzleBg extends Container {
18
18
  bg.position.set(x || 0, y || 0);
19
19
  //监听鼠标空格事件
20
20
  document.addEventListener("keydown", (e) => {
21
- if (e.ctrlKey && e.key.toLowerCase() === "a") {
21
+ if (e.ctrlKey && e.key.toLowerCase() === "w") {
22
22
  e.preventDefault();
23
23
  bg.visible = !bg.visible;
24
24
  }
package/lyb-pixi.js CHANGED
@@ -57785,7 +57785,7 @@ void main(void){
57785
57785
  bg.alpha = alpha || 0.25;
57786
57786
  bg.position.set(x2 || 0, y2 || 0);
57787
57787
  document.addEventListener("keydown", (e2) => {
57788
- if (e2.ctrlKey && e2.key.toLowerCase() === "a") {
57788
+ if (e2.ctrlKey && e2.key.toLowerCase() === "w") {
57789
57789
  e2.preventDefault();
57790
57790
  bg.visible = !bg.visible;
57791
57791
  } else if (e2.code === "ArrowUp") {
@@ -57886,7 +57886,7 @@ void main(void){
57886
57886
  e2.preventDefault();
57887
57887
  if (this._isLocalte)
57888
57888
  return;
57889
- this._showInput = true;
57889
+ this._showInput = !this._showInput;
57890
57890
  }
57891
57891
  if (e2.key === "Escape") {
57892
57892
  this._showInput = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lyb-pixi-js",
3
- "version": "1.11.17",
3
+ "version": "1.11.19",
4
4
  "description": "自用Pixi.JS方法库",
5
5
  "license": "ISC",
6
6
  "exports": {