mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-26 10:13:07 +01:00
move parallel track to lay and selection
This commit is contained in:
@@ -627,11 +627,8 @@ void editor_mode::render_track_context()
|
||||
show_track_tab(track_tab::straights);
|
||||
if (ImGui::MenuItem(STR_C("Curve"), "C", false, normal))
|
||||
show_track_tab(track_tab::route);
|
||||
if (ImGui::MenuItem(STR_C("Parallel track"), nullptr, false, normal))
|
||||
{
|
||||
show_track_tab(track_tab::lineside);
|
||||
m_parallel.expand = true;
|
||||
}
|
||||
if (ImGui::MenuItem(STR_C("Parallel track"), "L", false, normal))
|
||||
show_track_tab(track_tab::lay);
|
||||
if (ImGui::MenuItem(STR_C("Place a vehicle here")))
|
||||
{
|
||||
show_track_tab(track_tab::lineside);
|
||||
@@ -1209,6 +1206,7 @@ void editor_mode::render_track_set_ui()
|
||||
return;
|
||||
}
|
||||
ImGui::TextDisabled("%s", STR_C("The gizmo moves them together; Shift+LMB adds or takes out a path"));
|
||||
render_parallel_set_ui();
|
||||
if (ImGui::SmallButton(STR_C("Grow by the neighbours")))
|
||||
track_set_grow();
|
||||
if (ImGui::IsItemHovered())
|
||||
|
||||
Reference in New Issue
Block a user