@@ -48,13 +48,11 @@ ChannelSelector::ChannelSelector(bool createButtons, Font& titleFont_) :
4848 , paramsToggled(true ), paramsActive(true ), recActive(true ), radioStatus(false ), isNotSink(createButtons)
4949 , moveRight(false ), moveLeft(false ), offsetLR(0 ), offsetUD(0 ), desiredOffset(0 ), titleFont(titleFont_), acquisitionIsActive(false )
5050{
51- /*
5251 audioButton = new EditorButton (" AUDIO" , titleFont);
5352 audioButton->addListener (this );
5453 addAndMakeVisible (audioButton);
5554 if (!createButtons)
5655 audioButton->setState (false );
57- */
5856
5957 /*
6058 recordButton = new EditorButton("REC", titleFont);
@@ -85,7 +83,7 @@ ChannelSelector::ChannelSelector(bool createButtons, Font& titleFont_) :
8583
8684 // Buttons managers
8785 // ====================================================================
88- // addAndMakeVisible (audioButtonsManager);
86+ addAndMakeVisible (audioButtonsManager);
8987 // addAndMakeVisible (recordButtonsManager);
9088 addAndMakeVisible (parameterButtonsManager);
9189
@@ -284,12 +282,11 @@ void ChannelSelector::refreshButtonBoundaries()
284282 audio,record and param tabs
285283 */
286284 // const int tabButtonWidth = getWidth() / 3;
287- const int tabButtonWidth = getWidth ();
288- /*
285+ const int tabButtonWidth = getWidth () / 2 ;
286+
289287 audioButton->setBounds (0 , 0 , tabButtonWidth, tabButtonHeight);
290- recordButton->setBounds (tabButtonWidth, 0, tabButtonWidth, tabButtonHeight);
291- */
292- paramsButton->setBounds (0 , 0 , tabButtonWidth, tabButtonHeight);
288+ // recordButton->setBounds (tabButtonWidth, 0, tabButtonWidth, tabButtonHeight);
289+ paramsButton->setBounds (tabButtonWidth, 0 , tabButtonWidth, tabButtonHeight);
293290
294291 /*
295292 All and None buttons
0 commit comments