Skip to content

Commit 967fa58

Browse files
committed
Beautify DraggedItemPatch.cs
1 parent fcc57b0 commit 967fa58

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

TABGVR/Patches/UI/DraggedItemPatch.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ public static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstructio
2525
.RemoveInstructions(11)
2626
.InsertAndAdvance(
2727
new CodeInstruction(OpCodes.Ldarg_0),
28-
new CodeInstruction(OpCodes.Callvirt, typeof(DraggedItem).GetProperty(nameof(DraggedItem.transform))!.GetGetMethod()),
28+
new CodeInstruction(OpCodes.Callvirt,
29+
typeof(DraggedItem).GetProperty(nameof(DraggedItem.transform))!.GetGetMethod()),
2930
Transpilers.EmitDelegate((Transform transform) =>
3031
{
3132
transform.position = Vector3.Lerp(transform.position, UIPorter.DragPosition,

0 commit comments

Comments
 (0)