From e628adb922e3d280c9aa4865598aa42a03a919d8 Mon Sep 17 00:00:00 2001 From: martynshaw99 Date: Wed, 2 Jun 2010 23:54:44 +0000 Subject: [PATCH] Make recorded tracks the same size as imported tracks (if one or two channels). --- src/toolbars/ControlToolBar.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/toolbars/ControlToolBar.cpp b/src/toolbars/ControlToolBar.cpp index 8a091eb9a..fcfb2f14b 100644 --- a/src/toolbars/ControlToolBar.cpp +++ b/src/toolbars/ControlToolBar.cpp @@ -868,12 +868,8 @@ void ControlToolBar::OnRecord(wxCommandEvent &evt) newTrack->SetOffset(t0); - if (recordingChannels <= 2) { - newTrack->SetHeight(initialheight/recordingChannels); - } - else { - newTrack->SetMinimized(true); - } + if (recordingChannels > 2) + newTrack->SetMinimized(true); if (recordingChannels == 2) { if (c == 0) {