mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-17 10:55:57 +01:00
fix region drag/drop from region list
The canvas’ Y-offset (rulers & scroll) needs to be subtracted here.
This commit is contained in:
parent
86511cee89
commit
fd08ee8321
1 changed files with 1 additions and 1 deletions
|
|
@ -1169,7 +1169,7 @@ Editor::track_canvas_drag_motion (Glib::RefPtr<Gdk::DragContext> const& context,
|
|||
|
||||
(void) window_event_sample (&event, &px, &py);
|
||||
|
||||
std::pair<TimeAxisView*, int> const tv = trackview_by_y_position (py);
|
||||
std::pair<TimeAxisView*, int> const tv = trackview_by_y_position (py, false);
|
||||
bool can_drop = false;
|
||||
|
||||
if (tv.first != 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue