From 08cc1e272299f4a8618e1343f6b54f9de6a9a625 Mon Sep 17 00:00:00 2001 From: Dustin Carlino Date: Sun, 12 Jun 2022 09:16:06 +0100 Subject: [PATCH] Adjust tooltip phrasing to hopefully indicate the exact number of shortcuts isn't meaningful --- apps/ltn/src/edit/filters.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/ltn/src/edit/filters.rs b/apps/ltn/src/edit/filters.rs index 183da8c0f6..2eee157022 100644 --- a/apps/ltn/src/edit/filters.rs +++ b/apps/ltn/src/edit/filters.rs @@ -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()