mirror of
https://github.com/ApeMV/AmongUsRevamped.git
synced 2026-10-20 01:46:28 +00:00
First ClientOptions, optimizing, fixes, you name it
This commit is contained in:
1 parent
f6f4e3b8e5
commit
9712afa27b
20 files changed
+569
-30
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user