more work catching button release after track drag

This commit is contained in:
Paul Davis 2024-05-02 20:23:29 -06:00
parent 6370ddc984
commit 518b7fa280
1 changed files with 4 additions and 0 deletions

View File

@ -518,6 +518,10 @@ TimeAxisView::maybe_set_cursor (int y)
bool
TimeAxisView::controls_ebox_button_release (GdkEventButton* ev)
{
if (_editor.track_dragging()) {
return false;
}
if (_resize_drag_start >= 0) {
if (_have_preresize_cursor) {
gdk_window_set_cursor (controls_ebox.get_window()->gobj(), _preresize_cursor);