17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-02 06:59:13 +01:00

refactor(editor): the parallel track is a tool of its own

The seventh tool out of editor_mode. It reads the selected set of tracks
and the tab shown through the services, digitizes the tracks it lays and
refreshes the plan after it sets one parallel to another. The panel shown
for two selected tracks is a public call of the tool, and the self-test
command parallel moves with it and lays the same tracks as before.
This commit is contained in:
maj00r
2026-10-21 09:54:39 +02:00
parent 6ee771bb22
commit 872e1b5e19
9 changed files with 125 additions and 77 deletions

View File

@@ -1450,7 +1450,7 @@ bool editor_mode::update()
signal_move_update();
draw_signal_overlay();
}
draw_parallel_preview();
m_parallel.draw_overlay();
if (m_track_tab == track_tab::lineside)
{
m_hekto.draw_overlay();