Compare commits

..

2 Commits

3 changed files with 3 additions and 2 deletions

View File

@@ -2,6 +2,6 @@
<PropertyGroup>
<MajorVersion>1</MajorVersion>
<MinorVersion>2</MinorVersion>
<PatchVersion>4</PatchVersion>
<PatchVersion>6</PatchVersion>
</PropertyGroup>
</Project>

View File

@@ -43,7 +43,7 @@ internal class CarPickable_HandleShowContextMenu_Patch
});
}
shared.AddButton(ContextMenuQuadrant.Unused2, $"Follow", SpriteName.Inspect, delegate
shared.AddButton(ContextMenuQuadrant.General, $"Follow", SpriteName.Inspect, delegate
{
CameraSelector.shared.FollowCar(car);
});

View File

@@ -27,6 +27,7 @@ internal class ContextMenu_Show_Patch
return true;
}
__instance.CancelHideCoroutine();
if (__instance.contentRectTransform.childCount >= 1) __instance.contentRectTransform.GetChild(0).DestroyAllChildren(); //YOINK DEM CIRCLES!
__instance.SetupTemplate(rootCanvas);
__instance.centerLabel.text = centerText;
Canvas componentInParent = ((Component)__instance.contentRectTransform).GetComponentInParent<Canvas>();