mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-24 01:19:22 +01:00
Remove TryGetValue(MetaManipulation) from MetaDictionary.
This commit is contained in:
parent
5ca9e63a2a
commit
0445ed0ef9
11 changed files with 182 additions and 183 deletions
|
|
@ -240,7 +240,7 @@ public class ItemSwapTab : IDisposable, ITab
|
|||
{
|
||||
return swap switch
|
||||
{
|
||||
MetaSwap meta => $"{meta.SwapFrom}: {meta.SwapFrom.EntryToString()} -> {meta.SwapApplied.EntryToString()}",
|
||||
IMetaSwap meta => $"{meta.SwapFromIdentifier}: {meta.SwapFromDefaultEntry} -> {meta.SwapToModdedEntry}",
|
||||
FileSwap file =>
|
||||
$"{file.Type}: {file.SwapFromRequestPath} -> {file.SwapToModded.FullName}{(file.DataWasChanged ? " (EDITED)" : string.Empty)}",
|
||||
_ => string.Empty,
|
||||
|
|
@ -410,7 +410,7 @@ public class ItemSwapTab : IDisposable, ITab
|
|||
|
||||
private ImRaii.IEndObject DrawTab(SwapType newTab)
|
||||
{
|
||||
using var tab = ImRaii.TabItem(newTab is SwapType.BetweenSlots ? "Between Slots" : newTab.ToString());
|
||||
var tab = ImRaii.TabItem(newTab is SwapType.BetweenSlots ? "Between Slots" : newTab.ToString());
|
||||
if (tab)
|
||||
{
|
||||
_dirty |= _lastTab != newTab;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue