perf(ui): cache auto-tell tab tint and icon per tab

This commit is contained in:
2026-05-07 22:06:18 +02:00
parent 36b92f0520
commit 1ffc41f97d
4 changed files with 48 additions and 2 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ internal static class TabIconMapping
string? autoTellGlyph = null;
if (tab.IsTempTab && tab.TellTarget != null && tab.TellTarget.IsSet())
{
autoTellGlyph = AutoTellTabTint.IconFor(tab.TellTarget.Name, tab.TellTarget.World);
autoTellGlyph = TabTintCache.GetIcon(tab);
}
var glyph = TabIconGlyphResolver.ResolveGlyphName(tab, autoTellGlyph);