Size the class list's thumbnails like the consist cards

This commit is contained in:
maj00r
2026-10-04 14:43:26 +02:00
parent 4650e4899c
commit bfa899718c
2 changed files with 19 additions and 9 deletions

View File

@@ -192,7 +192,12 @@ public partial class Depot : UserControl
}
/// <summary>Redraws the consist cards, e.g. after the thumbnail size changed.</summary>
public void RefreshConsistView() => RebuildConsist();
/// <summary>Redraws what depends on the thumbnail size: the consist and the class list.</summary>
public void RefreshConsistView()
{
_browser.InitClassComboTemplates();
RebuildConsist();
}
private void RebuildConsist()
{