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:
parent
8fa01eceb4
commit
dd0e41048f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user