mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 15:23:48 +01: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user