Fix SouceContainer being null for actual move, which allowed swap with nonInteractive

This commit is contained in:
Tyfon
2024-07-12 14:06:02 -07:00
parent b6c199c1ef
commit e9fc7f6bf2

View File

@@ -162,8 +162,8 @@ namespace UIFixes
return AccessTools.Method(typeof(ItemView), nameof(ItemView.OnEndDrag)); return AccessTools.Method(typeof(ItemView), nameof(ItemView.OnEndDrag));
} }
[PatchPrefix] [PatchPostfix]
public static void Prefix() public static void Postfix()
{ {
SourceContainer = null; SourceContainer = null;
} }