From 01373d3899f2f820d034e3f2b861e44df2afc878 Mon Sep 17 00:00:00 2001 From: Anna Date: Fri, 11 Feb 2022 01:35:39 -0500 Subject: [PATCH] fix: properly space input --- ChatTwo/Ui/ChatLog.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ChatTwo/Ui/ChatLog.cs b/ChatTwo/Ui/ChatLog.cs index 2183e24..79014d0 100755 --- a/ChatTwo/Ui/ChatLog.cs +++ b/ChatTwo/Ui/ChatLog.cs @@ -195,7 +195,8 @@ internal sealed class ChatLog : IUiComponent { var lineHeight = ImGui.CalcTextSize("A").Y; return ImGui.GetContentRegionAvail().Y - lineHeight * 2 - - ImGui.GetStyle().ItemSpacing.Y * 2.5f; + - ImGui.GetStyle().ItemSpacing.Y + - ImGui.GetStyle().FramePadding.Y * 2; } private unsafe ImGuiViewport* _lastViewport;