summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_cursors.cc
diff options
context:
space:
mode:
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;