Fix SouceContainer being null for actual move, which allowed swap with nonInteractive
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user