mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
fix position of region cue markers during drag and after when region position is not zero
This commit is contained in:
parent
3fb9f47bf1
commit
232af15b51
1 changed files with 2 additions and 1 deletions
|
|
@ -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 */
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue