mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-26 17:04:53 +01:00
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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user