mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
more work catching button release after track drag
This commit is contained in:
parent
c3fb69c385
commit
51d2b3329c
1 changed files with 4 additions and 0 deletions
|
|
@ -518,6 +518,10 @@ TimeAxisView::maybe_set_cursor (int y)
|
||||||
bool
|
bool
|
||||||
TimeAxisView::controls_ebox_button_release (GdkEventButton* ev)
|
TimeAxisView::controls_ebox_button_release (GdkEventButton* ev)
|
||||||
{
|
{
|
||||||
|
if (_editor.track_dragging()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (_resize_drag_start >= 0) {
|
if (_resize_drag_start >= 0) {
|
||||||
if (_have_preresize_cursor) {
|
if (_have_preresize_cursor) {
|
||||||
gdk_window_set_cursor (controls_ebox.get_window()->gobj(), _preresize_cursor);
|
gdk_window_set_cursor (controls_ebox.get_window()->gobj(), _preresize_cursor);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue