ControlP5 ColorPicker and Tabs
in
Contributed Library Questions
•
1 year ago
Hi,
I'm having trouble combing a ColorPicker with Tabs in controlP5. The tabs don't respond when the ColorPicker is added. Here's some sample code:
ControlP5 controlP5;
ColorPicker cp;
public void setup() {
size(1000,500);
controlP5 = new ControlP5(this);
cp = controlP5.addColorPicker("s0",50,20,255,20);
controlP5.tab("tab");
}
public void draw() {
background(255);
}
//Thanks for your help!
1