projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ec0d89
)
Set _dragging_playhead during summary viewbox drag.
author
Carl Hetherington
<carl@carlh.net>
Sat, 13 Jun 2009 19:39:21 +0000
(19:39 +0000)
committer
Carl Hetherington
<carl@carlh.net>
Sat, 13 Jun 2009 19:39:21 +0000
(19:39 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@5182
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/editor_summary.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_summary.cc
b/gtk2_ardour/editor_summary.cc
index 4a1d70c585e4dad9e760ba91aa81cb25689f7373..637db188a559cf0451ceddc8afc0eb5e49787144 100644
(file)
--- a/
gtk2_ardour/editor_summary.cc
+++ b/
gtk2_ardour/editor_summary.cc
@@
-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;
}