mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
move 2 relative time methods from RegionView to EditingContext
This commit is contained in:
parent
45328723b0
commit
9e5211e9b1
5 changed files with 35 additions and 36 deletions
|
|
@ -184,7 +184,7 @@ AutomationRegionView::add_automation_event (timepos_t const & w, double y, bool
|
|||
|
||||
/* snap time */
|
||||
|
||||
when = snap_region_time_to_region_time (_region->source_position().distance (when), false);
|
||||
when = view->editor().snap_relative_time_to_relative_time (_region->position(), _region->source_position().distance (when), false);
|
||||
|
||||
/* map using line */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue