mirror of
https://github.com/rmroc451/TweaksAndThings.git
synced 2025-12-17 01:39:38 -06:00
Compare commits
4 Commits
v1.2.4_Exp
...
v1.2.6
| Author | SHA1 | Date | |
|---|---|---|---|
| 3f2e3dee80 | |||
| ed44ea829e | |||
| bce1d8bd58 | |||
| c25271ee2d |
@@ -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>
|
||||||
@@ -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 -->
|
||||||
|
|||||||
@@ -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);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -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>();
|
||||||
|
|||||||
Reference in New Issue
Block a user