fix: reduce spacing at bottom of chat

This commit is contained in:
Anna 2022-02-11 01:22:49 -05:00
parent b38fad99c6
commit b170c8fb0d
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ internal sealed class ChatLog : IUiComponent {
var lineHeight = ImGui.CalcTextSize("A").Y;
return ImGui.GetContentRegionAvail().Y
- lineHeight * 2
- ImGui.GetStyle().ItemSpacing.Y * 4;
- ImGui.GetStyle().ItemSpacing.Y * 2.5f;
}
private unsafe ImGuiViewport* _lastViewport;