From f25e547fe958bc2a36a94c4dc1de129416924920 Mon Sep 17 00:00:00 2001 From: "DESKTOP-64JNFCF\\keyra" Date: Sat, 14 Oct 2023 09:19:00 +0900 Subject: [PATCH] =?UTF-8?q?=E8=A4=87=E6=95=B0=E9=81=B8=E6=8A=9E=E6=99=82?= =?UTF-8?q?=E3=81=AE=E8=AA=A4=E3=83=95=E3=82=A9=E3=83=BC=E3=82=AB=E3=82=B9?= =?UTF-8?q?=E6=8A=91=E6=AD=A2=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../game-object-inventory/game-object-inventory.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/component/game-object-inventory/game-object-inventory.component.ts b/src/app/component/game-object-inventory/game-object-inventory.component.ts index 7ce72b2c..686610f7 100644 --- a/src/app/component/game-object-inventory/game-object-inventory.component.ts +++ b/src/app/component/game-object-inventory/game-object-inventory.component.ts @@ -645,6 +645,7 @@ export class GameObjectInventoryComponent implements OnInit, OnDestroy { focusGameObject(gameObject: GameCharacter, e: Event) { if (!(e.target instanceof HTMLElement)) return; if (new Set(['input', 'button']).has(e.target.tagName.toLowerCase())) return; + if (e instanceof MouseEvent && e.ctrlKey) return; if (gameObject.location.name !== 'table' || (!gameObject.isVisible && !this.isGMMode)) return; EventSystem.trigger('FOCUS_TABLETOP_OBJECT', { x: gameObject.location.x + gameObject.size * 50 / 2, y: gameObject.location.y + gameObject.size * 50 / 2, z: gameObject.posZ + (gameObject.altitude > 0 ? gameObject.altitude * 50 : 0) }); }