1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-02 17:09:26 +02:00

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.
This commit is contained in:
Paul Licameli 2018-10-30 13:03:47 -04:00
parent 4f964c359b
commit c101cf3b32

View File

@ -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