13
0

Fix a few more cases of aborting drags.

git-svn-id: svn://localhost/ardour2/branches/3.0@6468 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-01-08 01:53:50 +00:00
parent 1a1edc9ca1
commit b408ec00fa

View File

@ -2704,7 +2704,7 @@ ControlPointDrag::finished (GdkEvent* event, bool movement_occurred)
void void
ControlPointDrag::aborted () ControlPointDrag::aborted ()
{ {
/* XXX: TODO */ _point->line().reset ();
} }
bool bool
@ -2812,7 +2812,7 @@ LineDrag::finished (GdkEvent* event, bool)
void void
LineDrag::aborted () LineDrag::aborted ()
{ {
/* XXX: TODO */ _line->reset ();
} }
void void
@ -2926,7 +2926,7 @@ RubberbandSelectDrag::finished (GdkEvent* event, bool movement_occurred)
void void
RubberbandSelectDrag::aborted () RubberbandSelectDrag::aborted ()
{ {
/* XXX: TODO */ _editor->rubberband_rect->hide ();
} }
void void
@ -2995,7 +2995,7 @@ TimeFXDrag::finished (GdkEvent* /*event*/, bool movement_occurred)
void void
TimeFXDrag::aborted () TimeFXDrag::aborted ()
{ {
/* XXX: TODO */ _primary->get_time_axis_view().hide_timestretch ();
} }
@ -3590,7 +3590,7 @@ MouseZoomDrag::finished (GdkEvent* event, bool movement_occurred)
void void
MouseZoomDrag::aborted () MouseZoomDrag::aborted ()
{ {
/* XXX: TODO */ _editor->zoom_rect->hide ();
} }
NoteDrag::NoteDrag (Editor* e, ArdourCanvas::Item* i) NoteDrag::NoteDrag (Editor* e, ArdourCanvas::Item* i)
@ -3833,5 +3833,6 @@ AutomationRangeDrag::finished (GdkEvent* event, bool)
void void
AutomationRangeDrag::aborted () AutomationRangeDrag::aborted ()
{ {
/* XXX: TODO */ _line->clear_always_in_view ();
_line->reset ();
} }