From 8da778ad5fe4525d948e8d535d142a4c4af88ce9 Mon Sep 17 00:00:00 2001
From: Jakob Voigts <jvoigts@mit.edu>
Date: Thu, 16 May 2013 22:32:54 -0400
Subject: [PATCH] made channel mapping editor selection wider

works for 64 channels now
---
 Source/Processors/Editors/ChannelMappingEditor.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Source/Processors/Editors/ChannelMappingEditor.cpp b/Source/Processors/Editors/ChannelMappingEditor.cpp
index 5b2f1af57..6a2d94641 100644
--- a/Source/Processors/Editors/ChannelMappingEditor.cpp
+++ b/Source/Processors/Editors/ChannelMappingEditor.cpp
@@ -32,7 +32,7 @@ ChannelMappingEditor::ChannelMappingEditor(GenericProcessor* parentNode, bool us
     : GenericEditor(parentNode, useDefaultParameterEditors), previousChannelCount(0)
 
 {
-    desiredWidth = 190;
+    desiredWidth = 340;
 
     ElectrodeEditorButton* e1 = new ElectrodeEditorButton("MAPPING",Font("Small Text",14,Font::plain));
     e1->addListener(this);
@@ -104,7 +104,7 @@ void ChannelMappingEditor::createElectrodeButtons(int numNeeded)
 
         channelArray.add(i+1);
 
-        if (column%8 == 0)
+        if (column%16 == 0)
         {
             column = 0;
             row++;
-- 
GitLab