From c28c972ae332321f7948e76ebbc844c582a17863 Mon Sep 17 00:00:00 2001 From: JonKazama-Hellion Date: Tue, 5 May 2026 19:23:26 +0200 Subject: [PATCH] =?UTF-8?q?revert(top-tabs):=20drop=20icon=20prefix=20?= =?UTF-8?q?=E2=80=94=20Dalamud=20default=20font=20lacks=20FontAwesome=20co?= =?UTF-8?q?depoints?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tofu-squares rendered in-game (verified by Flo 2026-05-05 19:21). ImGui TabItem labels render in a single font frame; mixed-font (FontAwesome icon + default font for tab name) is not possible without Font-Atlas merging at FontManager level — out of scope for v1.2.0. Top-Tabs visual modernization is now driven by the Underline-Pill alone (T6, kept). Sidebar (icon-only) remains the use case where icons earn their keep. v1.2.0 Akzeptanzkriterium AC1 wird auf "Top-Tabs haben Pill-Underline" reduziert. --- HellionChat/Ui/ChatLogWindow.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/HellionChat/Ui/ChatLogWindow.cs b/HellionChat/Ui/ChatLogWindow.cs index 9a7fdb8..99f4083 100644 --- a/HellionChat/Ui/ChatLogWindow.cs +++ b/HellionChat/Ui/ChatLogWindow.cs @@ -1360,13 +1360,7 @@ public sealed class ChatLogWindow : Window if (Plugin.WantedTab == tabI) flags |= ImGuiTabItemFlags.SetSelected; - // v1.2.0 — Icon-Glyph als Prefix vor dem Tab-Namen. - // Strategy A: Codepoint einfach in den Label-String einbauen. - // Funktioniert wenn Dalamuds Default-Font-Atlas FontAwesome- - // Glyphen mit-merged. Falls nicht (Tofu-Square sichtbar), - // wechseln wir auf Strategy B mit separatem Icon-Render. - var icon = TabIconMapping.Resolve(tab); - using var tabItem = ImRaii.TabItem($"{icon.ToIconString()} {tab.Name}{unread}###log-tab-{tabI}", flags); + using var tabItem = ImRaii.TabItem($"{tab.Name}{unread}###log-tab-{tabI}", flags); DrawTabContextMenu(tab, tabI); if (!tabItem.Success)