13
0

fix position of region cue markers during drag and after when region position is not zero

This commit is contained in:
Paul Davis 2021-05-25 11:42:16 -06:00
parent 3fb9f47bf1
commit 232af15b51

View File

@ -7187,7 +7187,8 @@ RegionMarkerDrag::motion (GdkEvent* ev, bool first_move)
return; return;
} }
dragging_model.set_position (pos); dragging_model.set_position (pos - rv->region()->position());
/* view (ArdourMarker) needs a relative position inside the RegionView */
view->set_position (pos - rv->region()->position()); view->set_position (pos - rv->region()->position());
show_verbose_cursor_time (dragging_model.position() - rv->region()->position()); /* earlier */ show_verbose_cursor_time (dragging_model.position() - rv->region()->position()); /* earlier */
} }