diff --git a/src/TrackPanel.cpp b/src/TrackPanel.cpp index 5b2d89b3b..7ee00e702 100644 --- a/src/TrackPanel.cpp +++ b/src/TrackPanel.cpp @@ -2758,8 +2758,8 @@ void TrackPanelCellIterator::UpdateRect() // Find a disjoint, maybe empty, rectangle // for the empty space appearing at bottom - mRect.x = 0; - mRect.width = size.x; + mRect.x = kLeftMargin; + mRect.width = size.x - (mRect.x + kRightMargin); // Use previous value of the bottom, either the whole area if // there were no tracks, or else the resizer of the last track