summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_cursors.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-04-17 15:22:09 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-04-17 15:22:09 -0400
commitec102f94e1105a6c9f445a0cde6c2dd1b6ea4b8b (patch)
tree970d269534121d51960bc56a5d6092d88c6baf97 /gtk2_ardour/editor_cursors.cc
parent9727a2311100d87bba1ceac62e5a9e42e9420cd8 (diff)
various work waveview amplitude mgmt; fix playhead cursor drag from timebar click
Diffstat (limited to 'gtk2_ardour/editor_cursors.cc')
-rw-r--r--gtk2_ardour/editor_cursors.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_cursors.cc b/gtk2_ardour/editor_cursors.cc
index a1e1726747..59b81b2b48 100644
--- a/gtk2_ardour/editor_cursors.cc
+++ b/gtk2_ardour/editor_cursors.cc
@@ -75,8 +75,7 @@ EditorCursor::set_position (framepos_t frame)
}
if (new_pos != _track_canvas_item.x0 ()) {
- _track_canvas_item.set_x0 (new_pos);
- _track_canvas_item.set_x1 (new_pos);
+ _track_canvas_item.set_x (new_pos, new_pos);
}
_current_frame = frame;