Slightly modified patch from lincoln to fix mantis 1636.
git-svn-id: svn://localhost/ardour2/branches/3.0@5588 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ce1f2f73db
commit
bc18abeba9
|
@ -2707,9 +2707,9 @@ RubberbandSelectDrag::finished (GdkEvent* event, bool movement_occurred)
|
||||||
_editor->begin_reversible_command (_("rubberband selection"));
|
_editor->begin_reversible_command (_("rubberband selection"));
|
||||||
|
|
||||||
if (_grab_frame < _last_pointer_frame) {
|
if (_grab_frame < _last_pointer_frame) {
|
||||||
committed = _editor->select_all_within (_grab_frame, _last_pointer_frame, y1, y2, _editor->track_views, op);
|
committed = _editor->select_all_within (_grab_frame, _last_pointer_frame - 1, y1, y2, _editor->track_views, op);
|
||||||
} else {
|
} else {
|
||||||
committed = _editor->select_all_within (_last_pointer_frame, _grab_frame, y1, y2, _editor->track_views, op);
|
committed = _editor->select_all_within (_last_pointer_frame, _grab_frame - 1, y1, y2, _editor->track_views, op);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!committed) {
|
if (!committed) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user