fix: restore console panel content layout

This commit is contained in:
2026-04-05 01:42:55 +08:00
parent b2774f1745
commit cb7d60ec13

View File

@@ -1035,6 +1035,7 @@ void ConsolePanel::Render() {
const float errorFilterWidth = CalculateSeverityToggleButtonWidth(counts.errorCount);
const float severityGroupWidth = logFilterWidth + warningFilterWidth + errorFilterWidth;
{
UI::PanelToolbarScope toolbar(
"ConsoleToolbar",
kConsoleToolbarHeight,
@@ -1094,6 +1095,7 @@ void ConsolePanel::Render() {
ImGui::EndTable();
}
ImGui::PopStyleVar();
}
UI::PanelContentScope content("ConsoleRoot", ImVec2(0.0f, 0.0f));
if (!content.IsOpen()) {