First ClientOptions, optimizing, fixes, you name it

This commit is contained in:
Ape committed 2025-12-08 23:40:42 +01:00
1 parent f6f4e3b8e5
commit 9712afa27b
20 files changed
+569 -30

No files matched your search

+17 -1
View File
@@ -1,6 +1,5 @@
using System;
using Il2CppSystem.Collections.Generic;
using HarmonyLib;
using UnityEngine;
using Object = UnityEngine.Object;
@@ -533,4 +532,21 @@ namespace HNSRevamped
return false;
}
}
[HarmonyPatch(typeof(ChatController), nameof(ChatController.Update))]
public static class FixDarkThemeForSearchBar
{
public static FreeChatInputField InputField;
public static void Postfix()
{
if (!GameSettingMenu.Instance) return;
FreeChatInputField field = InputField;
if (field != null)
{
field.background.color = new Color32(40, 40, 40, byte.MaxValue);
field.textArea.compoText.Color(Color.white);
field.textArea.outputText.color = Color.white;
}
}
}
}