start using Editor::canvas_event_time(), initially just in the button release handler
This commit is contained in:
parent
6a44dcbdad
commit
b39a771655
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user