mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-03 01:30:16 +01:00
fix(editor): the hectometre posts write the km at the point on a line of its own under the kilometrage of the line, the wrapped text broke the number at its comma
This commit is contained in:
@@ -615,7 +615,8 @@ void hekto_tool::render_options()
|
||||
};
|
||||
if (false == tool.line.empty())
|
||||
{
|
||||
ImGui::TextWrapped("%s", format(STR_C("The km of line %s, as the Kilometrage tool sets them, its jumps too: km %s at the point"), tool.line.c_str(), kilometrage::text(tool.km).c_str()).c_str());
|
||||
ImGui::TextWrapped("%s", format(STR_C("The km of line %s, as the Kilometrage tool sets them, its jumps too"), tool.line.c_str()).c_str());
|
||||
ImGui::TextDisabled("%s", format(STR_C("km %s at the point"), kilometrage::text(tool.km).c_str()).c_str());
|
||||
if (ImGui::SmallButton(STR_C("Give the km here instead")))
|
||||
{
|
||||
tool.own_km = true;
|
||||
|
||||
Reference in New Issue
Block a user