CP5 Slider: Android Issue

edited February 2018 in Android Mode

Hello, i'd like to use Control P5 Sliders in an android-project. But unfortunately, the sliders behave different than in Java mode. On the Android-phone, you have to click one slider twice to change the value. This is bad, because the first click can affect the state of the slider which was selected before. Any idea how to solve this problem? Thanks!

import controlP5.*;

ControlP5 cp5;

void setup(){
  fullScreen();
  cp5 = new ControlP5(this);

  cp5.addSlider("ONE")
  .setPosition(50,100)
  .setSize(width-100, 50);

  cp5.addSlider("TWO")
  .setPosition(50,200)
  .setSize(width-100, 50);
}

void draw(){
}
Tagged:
Sign In or Register to comment.