diff --git a/gtk2_ardour/editing_context.cc b/gtk2_ardour/editing_context.cc index 5a42ade4c6..a9a961cfbc 100644 --- a/gtk2_ardour/editing_context.cc +++ b/gtk2_ardour/editing_context.cc @@ -2000,7 +2000,7 @@ EditingContext::pop_editing_context () double EditingContext::horizontal_position () const { - return sample_to_pixel (_leftmost_sample); + return horizontal_adjustment.get_value(); } void