fix: properly space input
This commit is contained in:
@@ -195,7 +195,8 @@ internal sealed class ChatLog : IUiComponent {
|
|||||||
var lineHeight = ImGui.CalcTextSize("A").Y;
|
var lineHeight = ImGui.CalcTextSize("A").Y;
|
||||||
return ImGui.GetContentRegionAvail().Y
|
return ImGui.GetContentRegionAvail().Y
|
||||||
- lineHeight * 2
|
- lineHeight * 2
|
||||||
- ImGui.GetStyle().ItemSpacing.Y * 2.5f;
|
- ImGui.GetStyle().ItemSpacing.Y
|
||||||
|
- ImGui.GetStyle().FramePadding.Y * 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
private unsafe ImGuiViewport* _lastViewport;
|
private unsafe ImGuiViewport* _lastViewport;
|
||||||
|
|||||||
Reference in New Issue
Block a user