From ab9ebedeeedb0741c92557632806f6457e3fe720 Mon Sep 17 00:00:00 2001 From: JonKazama-Hellion Date: Tue, 5 May 2026 23:12:54 +0200 Subject: [PATCH] fix(sidebar): suppress child background so top padding doesn't show frame fill The sidebar child window's ChildBg painted the upper top-padding area (reserved for header-toolbar alignment) with the theme's frame color, making it look like a stub block above the buttons. Pushing ChildBg to transparent keeps the buttons floating on the window background. Vertical separation to the message column stays intact via the TabTable's BordersInnerV flag. --- HellionChat/Ui/ChatLogWindow.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/HellionChat/Ui/ChatLogWindow.cs b/HellionChat/Ui/ChatLogWindow.cs index aa77136..f92c888 100644 --- a/HellionChat/Ui/ChatLogWindow.cs +++ b/HellionChat/Ui/ChatLogWindow.cs @@ -1462,6 +1462,12 @@ public sealed class ChatLogWindow : Window var hasTabSwitched = false; var childHeight = GetRemainingHeightForMessageLog(); + // v1.2.0 — Sidebar-Child ohne Theme-ChildBg, sonst füllt das + // bläuliche Frame-Rect auch den oberen HeaderToolbar-Padding-Bereich + // aus (sieht aus wie ein angeschnittener Block oberhalb der Buttons). + // Vertikale Trennung zur Message-Spalte bleibt durch BordersInnerV + // der Tab-Table erhalten. + using (ImRaii.PushColor(ImGuiCol.ChildBg, 0u)) using (var child = ImRaii.Child("##chat2-tab-sidebar", new Vector2(-1, childHeight))) { if (child)