mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
convert canvas_event_frame() and window_event_frame() to canvas_event_sample() and window_event_sample() to go along with the convention adopted in cairocanvas code re: frames+samples
This commit is contained in:
parent
0c283ba657
commit
c04285addf
8 changed files with 28 additions and 26 deletions
|
|
@ -4359,7 +4359,7 @@ Editor::get_preferred_edit_position (bool ignore_playhead, bool from_context_men
|
|||
EditPoint ep = _edit_point;
|
||||
|
||||
if (from_context_menu && (ep == EditAtMouse)) {
|
||||
return canvas_event_frame (&context_click_event, 0, 0);
|
||||
return canvas_event_sample (&context_click_event, 0, 0);
|
||||
}
|
||||
|
||||
if (entered_marker) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue