13
0

correctly redraw marker lanes

Old code just redrew them at the same timeline position (which may
or may not be a different pixel position). They need to be updated
with the underlying position of the marker they represent
This commit is contained in:
Paul Davis 2023-08-02 14:07:05 -06:00
parent 9f4a0b444e
commit 1f5a9c4444

View File

@ -340,10 +340,7 @@ void
Editor::update_all_marker_lanes ()
{
for (auto & lam : location_markers) {
lam.second->start->reposition ();
if (lam.second->end) {
lam.second->end->reposition ();
}
lam.second->set_position (lam.first->start(), lam.first->end());
}
}