mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2026-02-23 16:07:44 +01:00
Fix stain stuff.
This commit is contained in:
parent
e5fe782c17
commit
baedba11f8
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue