mirror of
https://github.com/rmroc451/TweaksAndThings.git
synced 2025-12-17 09:49:39 -06:00
Compare commits
2 Commits
v1.2.4_Exp
...
experiment
| Author | SHA1 | Date | |
|---|---|---|---|
| bce1d8bd58 | |||
| c25271ee2d |
@@ -2,6 +2,6 @@
|
||||
<PropertyGroup>
|
||||
<MajorVersion>1</MajorVersion>
|
||||
<MinorVersion>2</MinorVersion>
|
||||
<PatchVersion>4</PatchVersion>
|
||||
<PatchVersion>6</PatchVersion>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -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);
|
||||
});
|
||||
|
||||
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user