Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add captions to the impact marker #3858

Merged
merged 2 commits into from
Jan 28, 2024
Merged

Conversation

pleroy
Copy link
Member

@pleroy pleroy commented Jan 28, 2024

@@ -306,16 +306,25 @@ public class SingleProvenancePool {
}
case MapObject.ObjectType.PatchTransition: {
CelestialBody celestial = properties.reference_frame.Centre();
// TODO(phl): If we have a non-BS time, give it here.
double speed = properties.velocity.magnitude;
caption.Header = L10N.CacheFormat("#Principia_MapNode_ImpactHeader",
source,
celestial.Name());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let’s show the altitude as well, like we do for the apsides (ll. 266–272 above).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

impact

Done.

@eggrobin eggrobin added the LGTM label Jan 28, 2024
@pleroy pleroy merged commit f831573 into mockingbirdnest:Wiles Jan 28, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants