Update STM and signatures.

This commit is contained in:
Ottermandias 2025-03-27 15:53:59 +01:00
parent 586bd9d0cc
commit b8b2127a5d
5 changed files with 7 additions and 7 deletions

View file

@ -607,7 +607,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.GudTemplateCombo.CurrentSelection;
dye.Template = _stainService.GudTemplateCombo.CurrentSelection.UShort;
ret = true;
}

View file

@ -184,7 +184,7 @@ public partial class MtrlTab
if (_stainService.LegacyTemplateCombo.Draw("##dyeTemplate", dye.Template.ToString(), string.Empty, intSize
+ ImGui.GetStyle().ScrollbarSize / 2, ImGui.GetTextLineHeightWithSpacing(), ImGuiComboFlags.NoArrowButton))
{
dyeTable[rowIdx].Template = _stainService.LegacyTemplateCombo.CurrentSelection;
dyeTable[rowIdx].Template = _stainService.LegacyTemplateCombo.CurrentSelection.UShort;
ret = true;
}
@ -299,7 +299,7 @@ public partial class MtrlTab
if (_stainService.LegacyTemplateCombo.Draw("##dyeTemplate", dye.Template.ToString(), string.Empty, intSize
+ ImGui.GetStyle().ScrollbarSize / 2, ImGui.GetTextLineHeightWithSpacing(), ImGuiComboFlags.NoArrowButton))
{
dyeTable[rowIdx].Template = _stainService.LegacyTemplateCombo.CurrentSelection;
dyeTable[rowIdx].Template = _stainService.LegacyTemplateCombo.CurrentSelection.UShort;
ret = true;
}