More mapping cleanup, got rid of tons of mess code, clean definitions now
[SugarCubes.git] / _UIImplementation.pde
index 32c654e2b0f269939c1c1b5d4682de4856f5b02a..c749ad4b891e72f12ed00c87e992ba96f2d4c827 100644 (file)
@@ -273,7 +273,7 @@ class UIMapping extends UIWindow {
       protected void onValueChange(int value) {
         mappingTool.setChannel(value-1);
       }
-    }).setRange(0, mappingTool.numChannels()).addToContainer(this);
+    }).setRange(1, mappingTool.numChannels()).addToContainer(this);
     yp += 24;
     
     new UILabel(4, yp+8, w-10, 20).setLabel("CUBE ID").addToContainer(this);