13
0

Set _dragging_playhead during summary viewbox drag.

git-svn-id: svn://localhost/ardour2/branches/3.0@5182 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-06-13 19:39:21 +00:00
parent 2ec0d89b9e
commit 6764ab7856

View File

@ -261,6 +261,7 @@ EditorSummary::on_button_press_event (GdkEventButton* ev)
_dragging = true;
_x_offset = ev->x - xr.first;
_y_offset = ev->y - yr.first;
_editor->_dragging_playhead = true;
} else {
/* click outside the view rectangle: centre the view around the mouse click */
@ -317,5 +318,6 @@ bool
EditorSummary::on_button_release_event (GdkEventButton* ev)
{
_dragging = false;
_editor->_dragging_playhead = false;
return true;
}