mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-04 14:19:30 +02:00
fix tabs in file, patch by Steve the Fiddle
This commit is contained in:
parent
d56c78b8fa
commit
8b24718978
@ -7457,15 +7457,15 @@ void TrackPanel::OnMergeStereo(wxCommandEvent & WXUNUSED(event))
|
||||
mPopupMenuTarget->SetChannel(Track::LeftChannel);
|
||||
partner->SetChannel(Track::RightChannel);
|
||||
|
||||
// Set new track heights and minimized state
|
||||
bool bBothMinimizedp=((mPopupMenuTarget->GetMinimized())&&(partner->GetMinimized()));
|
||||
mPopupMenuTarget->SetMinimized(false);
|
||||
partner->SetMinimized(false);
|
||||
int AverageHeight=(mPopupMenuTarget->GetHeight() + partner->GetHeight())/ 2;
|
||||
mPopupMenuTarget->SetHeight(AverageHeight);
|
||||
partner->SetHeight(AverageHeight);
|
||||
mPopupMenuTarget->SetMinimized(bBothMinimizedp);
|
||||
partner->SetMinimized(bBothMinimizedp);
|
||||
// Set new track heights and minimized state
|
||||
bool bBothMinimizedp=((mPopupMenuTarget->GetMinimized())&&(partner->GetMinimized()));
|
||||
mPopupMenuTarget->SetMinimized(false);
|
||||
partner->SetMinimized(false);
|
||||
int AverageHeight=(mPopupMenuTarget->GetHeight() + partner->GetHeight())/ 2;
|
||||
mPopupMenuTarget->SetHeight(AverageHeight);
|
||||
partner->SetHeight(AverageHeight);
|
||||
mPopupMenuTarget->SetMinimized(bBothMinimizedp);
|
||||
partner->SetMinimized(bBothMinimizedp);
|
||||
|
||||
//On Demand - join the queues together.
|
||||
if(ODManager::IsInstanceCreated() && partner->GetKind() == Track::Wave && mPopupMenuTarget->GetKind() == Track::Wave )
|
||||
|
Loading…
x
Reference in New Issue
Block a user