mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
start using Editor::canvas_event_time(), initially just in the button release handler
This commit is contained in:
parent
6a44dcbdad
commit
b39a771655
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue