mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-03 14:59:23 +00:00
[Stickers] Fixed placing stickers when Cohtml text input fields were focused
This commit is contained in:
parent
c35d03b1ec
commit
f99a22499c
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue