start using Editor::canvas_event_time(), initially just in the button release handler

This commit is contained in:
Paul Davis 2021-01-18 20:13:37 -07:00
parent 6a44dcbdad
commit b39a771655
1 changed files with 1 additions and 1 deletions

View File

@ -1494,7 +1494,7 @@ Editor::button_release_dispatch (GdkEventButton* ev)
bool
Editor::button_release_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemType item_type)
{
timepos_t where (canvas_event_sample (event));
timepos_t where (canvas_event_time (event));
AutomationTimeAxisView* atv = 0;
_press_cursor_ctx.reset();