13
0

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

View File

@ -1494,7 +1494,7 @@ Editor::button_release_dispatch (GdkEventButton* ev)
bool bool
Editor::button_release_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemType item_type) 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; AutomationTimeAxisView* atv = 0;
_press_cursor_ctx.reset(); _press_cursor_ctx.reset();