Set DnD time's time-domain
Drag::_raw_grab_time is set to the correct time-domain. However during ::motion() and other operations the adjusted time was always AudioTime. Most notably this caused editor->selection->time to have different time-domains for start and end.
This commit is contained in:
parent
c4f6385d22
commit
bed041cf96
@ -427,6 +427,7 @@ Drag::adjusted_time (timepos_t const& f, GdkEvent const* event, bool snap) const
|
|||||||
_editor->snap_to_with_modifier (pos, event);
|
_editor->snap_to_with_modifier (pos, event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pos.set_time_domain (_time_domain);
|
||||||
return pos;
|
return pos;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user