Fix stain stuff.

This commit is contained in:
Ottermandias 2026-02-22 23:15:01 +01:00
parent e5fe782c17
commit baedba11f8
2 changed files with 4 additions and 4 deletions

View file

@ -384,14 +384,14 @@ public sealed class EquipmentDrawer : IUiService
var change = small
? _stainCombo.Draw("##stain"u8, stain, out var newStain, Im.Style.FrameHeight)
: _stainCombo.Draw("##stain"u8, stain, out newStain, width);
_itemCopy.HandleCopyPaste(data, index);
if (!change)
DrawStainDragDrop(data, index, stain, found);
if (index < data.CurrentStains.Count - 1)
Im.Line.SameInner();
if (change)
data.SetStains(data.CurrentStains.With(index, newStain.RowIndex));
if (ResetOrClear(data.Locked, false, data.AllowRevert, true, stainId, data.GameStains[index], Stain.None.RowIndex,

@ -1 +1 @@
Subproject commit 22fc61d0298e13e18c97e9352b84a90353176c39
Subproject commit f75aa967763347148401ec2cb800dcba2523f8c0