Closed ghost closed 4 years ago
Fixe ; bool isInChatBox = false; On.RoR2.UI.ChatBox.FocusInputField += (orig, self) => { orig(self); isInChatBox = true; }; On.RoR2.UI.ChatBox.UnfocusInputField += (orig, self) => { orig(self); isInChatBox = false; }; Then check isInChatBox after each GetKeyDown
Fixed and will be in 1.0 release
Fixe ; bool isInChatBox = false; On.RoR2.UI.ChatBox.FocusInputField += (orig, self) => { orig(self); isInChatBox = true; }; On.RoR2.UI.ChatBox.UnfocusInputField += (orig, self) => { orig(self); isInChatBox = false; }; Then check isInChatBox after each GetKeyDown