17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-17 07:29:20 +02:00

widen parallel snap and show 4 / 4.5 / 4.75 m

This commit is contained in:
maj00r
2026-10-08 22:17:48 +02:00
parent 5d075e75fe
commit c3dc7511e1
4 changed files with 62 additions and 22 deletions

View File

@@ -330,7 +330,7 @@ editor_mode::track_intent editor_mode::track_intent_at(int const Mods)
auto const offer{straight_parallel_offer(line, {})};
if (offer.near)
{
intent.action = format(offer.snaps ? STR_C("Drag: shift the straight sideways — snaps parallel at %.2f m") : STR_C("Drag: shift the straight sideways — close: parallel snap at %.2f m"), offer.spacing);
intent.action = format(offer.snaps ? STR_C("Drag: shift the straight sideways — snaps parallel at %.2f m") : STR_C("Drag: shift the straight sideways — close: %.2f m %.1f°"), offer.spacing, offer.angle);
intent.what = kind::straight_handle;
return intent;
}