mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-20 06:47:46 +01:00
Fix ItemSwap with changed target IMC material variant.
This commit is contained in:
parent
20303a9416
commit
960c936f8d
2 changed files with 4 additions and 3 deletions
|
|
@ -421,7 +421,7 @@ public class ItemSwapWindow : IDisposable
|
|||
if( _affectedItems is { Length: > 1 } )
|
||||
{
|
||||
ImGui.SameLine();
|
||||
ImGuiUtil.DrawTextButton( $"which will also affect {_affectedItems.Length} other Items.", Vector2.Zero, Colors.PressEnterWarningBg );
|
||||
ImGuiUtil.DrawTextButton( $"which will also affect {_affectedItems.Length - 1} other Items.", Vector2.Zero, Colors.PressEnterWarningBg );
|
||||
if( ImGui.IsItemHovered() )
|
||||
{
|
||||
ImGui.SetTooltip( string.Join( '\n', _affectedItems.Where( i => !ReferenceEquals( i, targetSelector.CurrentSelection.Item2 ) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue