Compare commits

..

4 Commits

4 changed files with 4 additions and 3 deletions

View File

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

View File

@@ -39,7 +39,7 @@
<!-- Folder we'll put the published zips into --> <!-- Folder we'll put the published zips into -->
<PublishPath>../bin</PublishPath> <PublishPath>../bin</PublishPath>
<ZipName>$(PublishPath)/$(AssemblyName)_$(AssemblyVersion)_Experimental.zip</ZipName> <ZipName>$(PublishPath)/$(AssemblyName)_$(AssemblyVersion).zip</ZipName>
</PropertyGroup> </PropertyGroup>
<!-- Assure the output path exists --> <!-- Assure the output path exists -->

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); CameraSelector.shared.FollowCar(car);
}); });

View File

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