mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-23 17:07:12 +03:00
Adjust tooltip phrasing to hopefully indicate the exact number of shortcuts isn't meaningful
This commit is contained in:
parent
4f0b150d68
commit
08cc1e2722
@ -58,7 +58,7 @@ pub fn make_world(
|
||||
.drawn_in_master_batch()
|
||||
.hover_outline(colors::OUTLINE, Distance::meters(5.0))
|
||||
.tooltip(Text::from(format!(
|
||||
"{} shortcuts cross {}",
|
||||
"{} possible shortcuts cross {}",
|
||||
shortcuts.count_per_road.get(*r),
|
||||
road.get_name(app.opts.language.as_ref()),
|
||||
)))
|
||||
@ -74,7 +74,7 @@ pub fn make_world(
|
||||
.drawn_in_master_batch()
|
||||
.hover_outline(colors::OUTLINE, Distance::meters(5.0))
|
||||
.tooltip(Text::from(format!(
|
||||
"{} shortcuts cross this intersection",
|
||||
"{} possible shortcuts cross this intersection",
|
||||
shortcuts.count_per_intersection.get(*i)
|
||||
)))
|
||||
.clickable()
|
||||
|
Loading…
Reference in New Issue
Block a user