From 0b74da1474bb1bbea194256df1fa90563cdde3c4 Mon Sep 17 00:00:00 2001 From: maj00r Date: Wed, 21 Oct 2026 11:09:16 +0200 Subject: [PATCH] fix(editor): a radius typed while dragging out of a free end reaches the curve The shape pulled out of a free end took a typed radius for its curve, but the typed keys were thrown away while the drag went on, so the value never got there. Digits now type the radius whenever the shape has a curve and a straight. --- application/editormodetrackux.cpp | 2 ++ lang/editor_pl.po | 3 +++ 2 files changed, 5 insertions(+) diff --git a/application/editormodetrackux.cpp b/application/editormodetrackux.cpp index 3cb577f6..a7e5e697 100644 --- a/application/editormodetrackux.cpp +++ b/application/editormodetrackux.cpp @@ -891,6 +891,8 @@ char const *editor_mode::typed_meaning() const return "type the turn in degrees, + to the right"; if (m_lay.active && false == m_lay.points.empty()) return "type the length of the next leg, Enter adds the point"; + if (m_extend.active && (m_track_layout == track_layout::arc_straight || m_track_layout == track_layout::straight_arc)) + return "type the radius of the curve"; return nullptr; } diff --git a/lang/editor_pl.po b/lang/editor_pl.po index 0defa02f..f71b08db 100644 --- a/lang/editor_pl.po +++ b/lang/editor_pl.po @@ -9988,3 +9988,6 @@ msgstr "Przeciągnij przez tor" msgid "to the other side" msgstr "na drugą stronę" + +msgid "type the radius of the curve" +msgstr "wpisz promień łuku"