From c101cf3b32ab5023308f2331b5c49df51a492736 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Tue, 30 Oct 2018 13:03:47 -0400 Subject: [PATCH] Small widening of the click-to-deselect area below the tracks... ... this should make the division of the TrackPanel area defined in TrackPanelCellIterator::UpdateRect exhaustive. --- src/TrackPanel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TrackPanel.cpp b/src/TrackPanel.cpp index 7ee00e702..5b2d89b3b 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 = kLeftMargin; - mRect.width = size.x - (mRect.x + kRightMargin); + mRect.x = 0; + mRect.width = size.x; // Use previous value of the bottom, either the whole area if // there were no tracks, or else the resizer of the last track