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:
parent
2ec0d89b9e
commit
6764ab7856
@ -261,6 +261,7 @@ EditorSummary::on_button_press_event (GdkEventButton* ev)
|
|||||||
_dragging = true;
|
_dragging = true;
|
||||||
_x_offset = ev->x - xr.first;
|
_x_offset = ev->x - xr.first;
|
||||||
_y_offset = ev->y - yr.first;
|
_y_offset = ev->y - yr.first;
|
||||||
|
_editor->_dragging_playhead = true;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
/* click outside the view rectangle: centre the view around the mouse click */
|
/* click outside the view rectangle: centre the view around the mouse click */
|
||||||
@ -317,5 +318,6 @@ bool
|
|||||||
EditorSummary::on_button_release_event (GdkEventButton* ev)
|
EditorSummary::on_button_release_event (GdkEventButton* ev)
|
||||||
{
|
{
|
||||||
_dragging = false;
|
_dragging = false;
|
||||||
|
_editor->_dragging_playhead = false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user