lyb-pixi-js 1.11.18 → 1.11.20
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.
|
@@ -17,7 +17,7 @@ export class LibPixiDragLocate extends Container {
|
|
|
17
17
|
/** 按下坐标 */
|
|
18
18
|
this._downPos = { x: 0, y: 0 };
|
|
19
19
|
window.addEventListener("keydown", (e) => {
|
|
20
|
-
if (e.ctrlKey && e.key.toLowerCase() === "q") {
|
|
20
|
+
if (e.ctrlKey && e.key.toLowerCase() === "q" && e.shiftKey) {
|
|
21
21
|
e.preventDefault();
|
|
22
22
|
if (this._isLocalte)
|
|
23
23
|
return;
|
|
@@ -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() === "
|
|
21
|
+
if (e.ctrlKey && e.key.toLowerCase() === "q" && !e.shiftKey) {
|
|
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() === "
|
|
57788
|
+
if (e2.ctrlKey && e2.key.toLowerCase() === "q" && !e2.shiftKey) {
|
|
57789
57789
|
e2.preventDefault();
|
|
57790
57790
|
bg.visible = !bg.visible;
|
|
57791
57791
|
} else if (e2.code === "ArrowUp") {
|
|
@@ -57882,7 +57882,7 @@ void main(void){
|
|
|
57882
57882
|
this._allowMove = false;
|
|
57883
57883
|
this._downPos = { x: 0, y: 0 };
|
|
57884
57884
|
window.addEventListener("keydown", (e2) => {
|
|
57885
|
-
if (e2.ctrlKey && e2.key.toLowerCase() === "q") {
|
|
57885
|
+
if (e2.ctrlKey && e2.key.toLowerCase() === "q" && e2.shiftKey) {
|
|
57886
57886
|
e2.preventDefault();
|
|
57887
57887
|
if (this._isLocalte)
|
|
57888
57888
|
return;
|