Fixed constructor call to pass in the PApplet instance.

This commit is contained in:
unknown 2015-08-17 18:24:14 -04:00
parent a4a4824bfe
commit f87e64388d

View File

@ -125,8 +125,8 @@ Alternatively, ControlP5 can be instantiated from other places as well for examp
class GUI { class GUI {
ControlP5 cp5; ControlP5 cp5;
GUI(ControlP5 theControlP5) { GUI(PApplet pApplet) {
cp5 = new ControlP5(theControlP5); cp5 = new ControlP5(pApplet);
} }
} }
``` ```