From f99a22499c68ef1b8d7cfd078930ab569c9f2c6e Mon Sep 17 00:00:00 2001 From: NotAKidoS <37721153+NotAKidoS@users.noreply.github.com> Date: Thu, 3 Apr 2025 04:02:58 -0500 Subject: [PATCH] [Stickers] Fixed placing stickers when Cohtml text input fields were focused --- Stickers/Main.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Stickers/Main.cs b/Stickers/Main.cs index 80ebd6b..022559b 100644 --- a/Stickers/Main.cs +++ b/Stickers/Main.cs @@ -1,4 +1,5 @@ using ABI_RC.Core; +using ABI_RC.Core.InteractionSystem; using ABI_RC.Core.Player; using ABI_RC.Core.Savior; using ABI_RC.Systems.InputManagement; @@ -51,7 +52,8 @@ public class StickerMod : MelonMod if (!Input.GetKeyDown((KeyCode)ModSettings.Entry_PlaceBinding.Value)) return; - if (CVRInputManager.Instance.textInputFocused) + if (CVRInputManager.Instance.textInputFocused + || ViewManager.Instance.textInputFocused) // BRUH return; // prevent placing stickers while typing StickerSystem.Instance.PlaceStickerFromControllerRay(PlayerSetup.Instance.activeCam.transform);