diff --git a/gtk2_ardour/editor_summary.cc b/gtk2_ardour/editor_summary.cc index 24af3d2b1e..d472d7eca0 100644 --- a/gtk2_ardour/editor_summary.cc +++ b/gtk2_ardour/editor_summary.cc @@ -931,7 +931,7 @@ EditorSummary::playhead_position_changed (samplepos_t p) if (_session && o != n) { int a = max(2, min (o, n)); int b = max (o, n); - set_overlays_dirty_rect (a - 2, 0, b + 2, get_height ()); + set_overlays_dirty_rect (a - 2, 0, b - a + 4, get_height ()); } }