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;