Fix dye template combo (aka "git gud")

This commit is contained in:
N. Lo. 2024-08-06 13:05:21 +02:00 committed by GitHub
parent 0d1ed6a926
commit 2bf08c8c89
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -595,7 +595,7 @@ public partial class MtrlTab
if (_stainService.GudTemplateCombo.Draw("##dyeTemplate", dye.Template.ToString(), string.Empty,
scalarSize + ImGui.GetStyle().ScrollbarSize / 2, ImGui.GetTextLineHeightWithSpacing(), ImGuiComboFlags.NoArrowButton))
{
dye.Template = _stainService.LegacyTemplateCombo.CurrentSelection;
dye.Template = _stainService.GudTemplateCombo.CurrentSelection;
ret = true;
}