More updates

This commit is contained in:
Infi
2024-07-08 12:30:05 +02:00
parent cd750a3ccb
commit 7b8aa172e0
31 changed files with 1076 additions and 734 deletions
+4 -5
View File
@@ -256,6 +256,10 @@ internal sealed unsafe class Chat : IDisposable
if (Plugin.ChatLogWindow is { CurrentTab.InputDisabled: true, IsHidden: false })
return;
// Vanilla text input has focus
if (RaptureAtkModule.Instance()->AtkModule.IsTextInputActive())
return;
var modifierState = (ModifierFlag) 0;
foreach (var modifier in Enum.GetValues<ModifierFlag>())
{
@@ -270,13 +274,8 @@ internal sealed unsafe class Chat : IDisposable
if (!Keybinds.TryGetValue(toIntercept, out var keybind))
continue;
// Vanilla input has focus, so we ignore Ready Chat and Ready Command keybind
if (toIntercept is "CMD_CHAT" or "CMD_COMMAND")
{
// Vanilla text input has focus
if (RaptureAtkModule.Instance()->AtkModule.IsTextInputActive())
continue;
// Direct chat option is selected
if (DirectChat)
continue;