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:
Paul Davis 2014-02-26 08:43:53 -05:00
parent 0c283ba657
commit c04285addf
8 changed files with 28 additions and 26 deletions

View file

@ -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) {