1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Bug2282 residual: Partition sub-view heights 1:1 not 2:1...

... when doing steps to reproduce in that bug report
This commit is contained in:
Paul Licameli 2020-01-09 14:42:59 -05:00
parent 8fa01eceb4
commit dd0e41048f

View File

@ -574,7 +574,7 @@ void WaveTrackView::ToggleSubView(WaveTrackDisplay display)
int greatest = -1;
unsigned nn = 0;
for ( const auto &placement : mPlacements ) {
if ( placement.fraction >= 0.0 && placement.index >= 0 ) {
if ( placement.fraction > 0.0 && placement.index >= 0 ) {
total += placement.fraction;
greatest = std::max( greatest, placement.index );
++nn;